Multiple choice technology programming languages

Map is Interface and Hashmap is class that implements Map

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Java, Map is defined as an interface in the java.util package, whereas HashMap is a concrete class that implements the Map interface. Therefore, the statement is completely true, and the option marking it false is incorrect.