Answer Posted / 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 |
Post New Answer View All Answers
List down the methods and interfaces of collection class in java.
What is string in java? String is a data type?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What does flag mean in java?
What are "methods" and "fields"?
What is time complexity algorithm?
what are the high-level thread states? : Java thread
What are the benefits of immutable objects?
Explain the importance of finally over return statement?
Difference between object instantiation and construction ?
What is busy spin, and why should you use it?
What is style and indentation?
Explain java code for recursive solution's base case?
What's a method in programming?
If I only change the return type, does the method become overloaded?