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

Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

934


What is primitive array?

906


What is :: operator in java?

978


How do you know if a value is nan?

1060


Is string is a keyword in java?

980


What happens when main () method is declared as private?

1147


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

1040


Why arraylist is used in java?

1080


What is a lock or purpose of locks in java?

1030


What is the difference between a loader and a compiler?

1045


What are the methods of object class ?

1064


Is Java a dying language?

1090


Can we change the scope of the overridden method in the subclass?

1393


Explain the importance of join() method in thread class?

1100


What is immutable in java?

1073