Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class selection_statements
- {
- public static void main(String args[])
- {
- int var1 = 5;
- int var2 = 6;
- if ((var2 = 1) == var1)
- System.out.print(var2);
- else
- System.out.print(++var2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement