Question: object orinted programming Q2: Write the exact output: int x = 3452, y = 7634, Z = 345; if (x == y && X ==
Q2: Write the exact output: int x = 3452, y = 7634, Z = 345; if (x == y && X == z) { System.out.println("All numbers are equal"); } else if ((x y) 11 (x == z) || (z == y)) { System.out.println("Neither all are equal or different" } else { System.out.println("All numbers are different"); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
