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 is an example of declaration?
What are the differences between the constructors and methods?
what is use of functional interface in java 8?
What is the static method?
How do you declare an empty string?
What is the difference between stringbuffer and stringbuilder class?
What is a line break example?
What is the concept of multithreading?
What is the += operator called?
What is broken and continue statement?
What is a null check?
Explain about the main() method in java?
Is assembly language a low level language?
What is parse method?
Can we use synchronized block for primitives?