Difference between Map & Hashmap
Answers were Sorted based on User's Feedback
Answer / seema
Map is an interface and HashMap is the class that implements
that interface
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / rajesh
Map is the Interface and Hashmap is the class that
implements that.
Map is the static type of map, while HashMap is the dynamic
type of map. This means that the compiler will treat your
map object as being one of type Map, even though at
runtime, it may point to any subtype of it.
| Is This Answer Correct ? | 4 Yes | 3 No |
What is class level lock ?
Is java se open source?
What are virtual methods?
Name few java 8 annotations ?
How can you write a loop indefinitely in java programming?
What is emant by API? is it related to java only or it is common for all OOPS supporting language?
How do you find the absolute value?
String Reverse in Java...!
What are the Main functions of Java?
0 Answers Akamai Technologies,
What is the root class for all Java classes?
What is string and example?
Explain the polymorphism principle?