You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- public class TernaryAssignments {
- public static void main(String[] args) {
- new TernaryAssignments().realMain(args);
- }
- public void realMain(String[] args) {
- boolean t = true;
- String v = v = v=v=v=v=v=v=v=v="s";
- String s = t ? s="s" : "unset";
- org.aspectj.testing.Tester.checkEqual(s, "s");
- }
- }
|