News

The Java ternary operator can be used in place of if..else statements ... void. For example, the following code places a print statement after question mark, and causes a compile error: Type mismatch: ...