R

Ram Sharma • 193.86K Points
Coach

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) 2 20 3
  • (B) 2 20 5
  • (C) 2 10 5
  • (D) -2 20 3

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.