What will happen when we compile and run the printImportant() method below?
public int findLargest(int[] ages) { // assume this method works and returns the largest age } public static int printImportant(String[] names, int[] ages) { System.out.println("The first name in the list is: " + names[0]); int largestAge = findLargest(ages); System.out.println("The largest age is: " + largestAge); }
There are no hints for this question