Home / Report Question

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