Last active
August 15, 2022 17:47
-
-
Save phoenix24/0cab8bcd31ac3a4af192d0b060aca64b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Problem8 { | |
public static void main(String[] args) { | |
int i = 0; | |
char x = 'X'; | |
System.out.print(true? x: 0); | |
System.out.print(false? i: x); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment