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

What is thread life cycle in java?

1022


What all access modifiers are allowed for top class ?

1151


How do you represent a space in regex java?

969


What is downcasting?

1036


What are the uses of java?

1036


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

1059


How do you override a private method in java?

934


What is dynamic array in java?

978


Why javac is not recognized?

900


What is the covariant return type?

1035


can I implement my own start() method? : Java thread

945


Can we declare main () method as non static?

937


What is difference between iterator and enumeration in java?

955


Can we override the static method?

972


what is interface in java? Explain

919