javaQuestion 2: This question is about Maps and priority queues. A. This question is about the basics of Maps. (4 points) and initialize 1. Declare a map capable of name of a student and associating it with the number of credits that have completed. 2. Write a method that will take in a number of credits as a parameter and find all students that have taken at least that many credits. Show transcribed image text Question 2: This question is about Maps and priority queues. A. This question is about the basics of Maps. (4 points) and initialize 1. Declare a map capable of name of a student and associating it with the number of credits that have completed. 2. Write a method that will take in a number of credits as a parameter and find all students that have taken at least that many credits.
Expert Answer
Answer to Question 2: This question is about Maps and priority queues. A. This question is about the basics of Maps. (4 points) an…