Return to site
JAVA CERTIFICATION QUESTION: Evaluation order, the assignment operator, and array access in Java
=>Prepare for a tricky adventure when evaluating expressions that contain arrays.
·
This quiz looks at evaluation order, the assignment operator, and array access. Given the following code
What is the result of running that code? Choose one.
- A. Compilation fails at line n1.
- B. The java.lang.ArrayIndexOutOfBoundsException is thrown at line n2.
- C. 11
- D. 12
- E. 22
ꓷ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ