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...

Can we place the any object to key attribute of
HashMap<key,value>?

Answer Posted / ramarao katta

yes, we can place any object as key value but that object
must and should implement the hashcode method.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use equal in java?

1006


What is the significance of listiterator?

1031


Why deletion in linkedlist is fast than arraylist?

1033


What is the purpose of checked and unchecked exceptions in JAVA?

963


What are different types of control structures?

932


What is singleton math?

1064


What is data type in java?

871


What does || || mean in math?

886


What are keywords give examples?

1004


What is instance means in java?

996


Explain reverse a linked list recursive java solution?

942


Is null a value?

980


What is a percentage sign called?

1061


Why does java doesnt suuport unsigned values?

2184


Does java vector allow null?

901