Baheeg Training and Test Exam

Oracle Certified Professional: Java SE 8 Programmer

Score: 0 / 0 answered

Progress: 0 of 1058 qs

time elap: 00:00

Question 1: What is the output of the following code snippet?

int[] array = {5, 3, 4, 1, 2};
Arrays.sort(array);
System.out.println(Arrays.toString(array));