is it possible to add a object in a HASHMAP

Answer Posted / ravikiran

Yes we can add Object as a value inside HashMap

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does java pattern compile work?

548


Why does java doesnt suuport unsigned values?

1798


What are loops in java?

550


Can we have return statement in finally clause? What will happen?

517


Explain treeset?

593






What is a for loop in java?

599


Can constructor return value?

512


How do you add spaces in java?

514


What is data object example?

534


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

611


What does method mean?

517


What is the use of java?

528


Why enumeration is faster than iterator?

529


What is length in java?

570


What is a condition in programming?

560