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
How do you convert an int to a double in java?
What is jvm? How its run?
How do you calculate square roots?
Is java a compiler?
What is stored procedure. How do you create stored procedure ?
What are access specifiers available in java?
How do you convert an int to a string in java?
How the metacharacters are different from the ordinary characters?
What about anonymous inner classes in java?
What are the six ways to use this keyword?
Explain about varargs in java?
What is the use of a conditional inclusion statement in Java ?
Why are the destructors for base class and derived class called in reverse order when the program exits
How do you convert boolean to boolean?
Write a java program for binary search?