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

List down the methods and interfaces of collection class in java.

984


What is string in java? String is a data type?

1019


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

1923


What does flag mean in java?

1021


What are "methods" and "fields"?

1018


What is time complexity algorithm?

1047


what are the high-level thread states? : Java thread

1016


What are the benefits of immutable objects?

1008


Explain the importance of finally over return statement?

1044


Difference between object instantiation and construction ?

1068


What is busy spin, and why should you use it?

1085


What is style and indentation?

1011


Explain java code for recursive solution's base case?

1030


What's a method in programming?

1076


If I only change the return type, does the method become overloaded?

926