A

Admin • 802.91K Points
Coach

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: 7
  • Filed under category Java
  • Hashtags:

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.