Advertisement
bakakun

ArithmeticResultsOutput

May 23rd, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.26 KB | None | 0 0
  1. public class ArithmeticResultsOutput {
  2.     public static void main (String[] args) {
  3.         int i = 0;
  4.         int j = 0;
  5.         if (i++ == ++j) {
  6.             System.out.println("True: i=" + i + ", j=" + j);
  7.         } else {
  8.             System.out.println("False: i=" + i + ", j=" + j);
  9.         }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement