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

Write POJO class as a key to hashmap???

Answer Posted / sudha

Map p=new HashMap();
PojoClass pc=new PojoClass();
p.put("key",pc);

Is This Answer Correct ?    2 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when a thread cannot acquire a lock on an object in java programming?

947


What is the method overriding?

1039


How can I right-justify a string?

1091


Differences between traditional programming language and object oriented programming language?

1059


What is a local, member and a class variable?

971


which pattern is default in scanner package?

2185


How to use string tokenizer class.

1121


What is an object in java and how is it created?

1003


When we should use serialization?

962


Can a static class have a constructor?

963


What are jee technologies?

959


What happens if constructor is private?

971


Explain about serializable interface in java?

933


What are the string methods in java?

1023


Why Java doesn’t support multiple inheritance?

987