Answer Posted / janardhan
yes we can add object in Hashmap
example:--
ArrayList l=new ArrayList();
l.add(10);
HashMap map=new HashMap();
map.put(l,"13");
here l is object
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is lambda programming?
What is independent and dependent variables in research?
Explain about arraylist?
Is singleton class immutable?
How many types of methods are there?
What is a local class in java?
What do you understand by abstract classes?
What is a databasemetadata?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
how can i use a nonsynchronized hashtable?
What is a parameter in matrices?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
How to check if linked list contains loop in java?
How finally used under exception handling?
Difference between a class and an object?