Name: __________________________ NetID: _____________ Name: __________________________ NetID: _____________ Name: __________________________ NetID: _____________
The ClassScores
class
is what we started with last time. This time we will just focus on solving
the method findMode(int[])
method using a map this time.
Remember the mode of a list of numbers is the most commonly occuring number(s). For example, if you have the following numbers, [88, 70, 65, 70, 88], the modes are 70 and 88 because they occur twice, while 65 ocurs once.
Complete the method below. Turn this classwork in during class.