Difference between Map & Hashmap

Answer Posted / seema

Map is an interface and HashMap is the class that implements
that interface

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of map in java?

517


What is the difference between a static and a non-static inner class in java programming?

533


Differentiate between static and non-static methods in java.

571


When do you get classcastexception?

558


What is the primitive type byte?

585






How to Sort Strings which are given in List and display in ascending order without using java api.

3776


Define inheritance with reference to java.

583


Which package has light weight components?

566


Can we sort arraylist in java?

565


What is classpath?

550


What is the default value of byte datatype in java?

487


Is void a wrapper class?

537


What's a method in programming?

551


What are decalarations?

640


What is jrmp?

550