Question: Maps A map is a data structure that provides a quick look up to retrieve a value with a key. For this exercise 1. Create




Maps A map is a data structure that provides a quick look up to retrieve a value with a key. For this exercise 1. Create a package called maps in your CollectionLab folder and create two test classes (HashMapTest, TreeMapTest) to test the following implementation of a Map interface and view the outcome o HashTest o TreeTest 2. Consider the following table of students with their corresponding GPA. Make a map collection of these values Student NAME Peter Lemon Nevil Pier Finnegan Wolf Archibald Butler Jessica Flack Virginia Alcott Remington Steel Jensen Candle GPA 3.6 2.3 3.7 2.7 3. What is the output of the map for the following statement? System.out.println (map.get ("Virginia Alcott
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
