A
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);
a -= 3;
b *= 2;
c /= 5;
System.out.println(a +" " + b + " " + c);
- Correct Answer - Option(A)
- Views: 10
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.