Page 1279 - AP Computer Science A, 7th edition
P. 1279
an array of arrays. Thus, each row, which is an array of
Contestant, can be sorted using the helper method sort. • Part (c) uses the fact that after you sort all the rows of
contestants, the winning contestant will be in the last column of the matrix of contestants. When you go through the loop, searching for a score that’s higher than the current max, be sure to store the name that goes with that score!