(Java)
Q1
Extracted text: Which of the following methods correctly prints the content of an array of ints to the console? public static void printArray(int[] array) { for (int i = 0; i <= array.length;="" i++)="" {="" system.out.println(array[i]="" +="" "="" ");="" }="" }="" public="" static="" void="" printarray(int[]="" array)="" {="" for="" (int="" i="0;" i="">=>< array.length;="" i++)="" {="" system.out.println(array[i]="" +="" "="" ");="" }="" o="" public="" static="" void="" printarray(int[]="" array)="" {="" for="" (int="" i="1;" i=""><= array.length;="" i++)="" {="" system.out.println(array[i]="" +="" "="" ");="" }="" o="" public="" static="" void="" printarray(int[]="" array)="" {="" for="" (int="" i="0;" i="">=>< array.length();="" i++)="" {="" system.out.println(array[i]="" +="" "="" ");="" }="" o="" public="" static="" void="" printarray(int[]="" array)="" {="" for="" (int="" i="0;" i=""><= array.length();="" i++)="" {="" system.out.println(array[i]="" +="" "="" ");="">=>
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here