X1118: Making Maps - Answer Key

A teacher is creating an answer key to a true/false quiz. They need a map that can store an integer question number and the corresponding correct answer as a Boolean value (either true or false).

Create a Map that can store such data. You don't need to add anything it, just create and return a Map to store the right data.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.