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
What happens when a thread cannot acquire a lock on an object in java programming?
What is the method overriding?
How can I right-justify a string?
Differences between traditional programming language and object oriented programming language?
What is a local, member and a class variable?
which pattern is default in scanner package?
How to use string tokenizer class.
What is an object in java and how is it created?
When we should use serialization?
Can a static class have a constructor?
What are jee technologies?
What happens if constructor is private?
Explain about serializable interface in java?
What are the string methods in java?
Why Java doesn’t support multiple inheritance?