P

Pooja • 4.41K Points
Extraordinary

Q. What is the value stored in x in the following lines of Java code?
int x, y, z;
 x = 0;
 y = 1;
 x = y = z = 8;

  • (A) 0
  • (B) 3 2 3
  • (C) 9
  • (D) 8
  • Correct Answer - Option(D)
  • Views: 8
  • Filed under category JAVA

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.


Question analytics