Question: What is the output of the following Java code? int x = 5 ; int y = 3 , z; x = 10 + --y
What is the output of the following Java code? int x = 5 ; int y = 3 , z; x = 10 + --y ; z = x % 5 / 6 + y; System.out.println("X=" + x + " Y= " + y + "Z=" + z);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
