1Z0-811 Arrays and Methods • 20 Questions
20 1Z0-811 Arrays and Methods practice questions with answers and explanations. Free, no signup.
A method 'public static void modifyArray(int[] arr) { arr[0] = 99; }' is called with 'int[] myArray = {1,2,3}; modifyArray(myArray); System.out.println(myArray[0]);'. What is the output?
Choose an answer to begin — your selection is scored in the full session.
17 questions · instant feedback and full explanations after every question.