Q. What is the output of the Java code snippet?
Code:
int a=5, b=10, c=15; a -= 3; b *= 2; c /= 5; System.out.println(a +" " + b + " " + c);
β
Correct Answer: (A)
2 20 3
int a=5, b=10, c=15; a -= 3; b *= 2; c /= 5; System.out.println(a +" " + b + " " + c);
You must be Logged in to update hint/solution