Skip to content

Instantly share code, notes, and snippets.

@phoenix24
Last active August 15, 2022 17:47
Show Gist options
  • Save phoenix24/0cab8bcd31ac3a4af192d0b060aca64b to your computer and use it in GitHub Desktop.
Save phoenix24/0cab8bcd31ac3a4af192d0b060aca64b to your computer and use it in GitHub Desktop.
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