Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Map & Hashmap

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


Please Help Members By Posting Answers For Below Questions

Can an interface be defined inside a class?

999


Why do we use threads in java?

1043


What is a java list?

1041


Is arraylist zero based?

1001


What does this () mean in java?

929


which class is the wait() method defined in? : Java thread

887


Explain about java sdk?

963


How objects are stored in java?

978


Difference between string, string builder, and string buffer?

1019


What is Java Annotations?

1013


What is replacefirst in java?

1020


What are the access modifiers available in java?

1058


What is lazy initialization in java?

937


Difference between ‘>>’ and ‘>>>’ operators in java?

1072


What is a jit compiler?

1070