Is it safe for adding 10,00,000 records/objects to
HashMap?, i.e is it safe to add millions of objects to
HashMap?

Answers were Sorted based on User's Feedback



Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of obj..

Answer / kishore kumar

No,
It may not work in low memory systems.
If you want to show the all the records from the database,
then simply use the concept of pagination.

Is This Answer Correct ?    1 Yes 1 No

Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of obj..

Answer / ijaz_shaikh14

yes

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

How are variables stored?

0 Answers  


How will you reverse a link list without using recursion?

0 Answers   Global Logic,


What are different data structures in java?

0 Answers  


what is different between static and non static methods ,using example

2 Answers  


what is the constructor and how many types of constructors are used in java?

0 Answers  


Are there any tools available in java to create reports?

5 Answers  


Can an interface have a class?

0 Answers  


What are the problems faced by java programmers who don't use layout managers?

0 Answers  


can any body tell me? does advance java and j2ee both are same.

4 Answers   CTS, Infosys,


What is math exp in java?

0 Answers  


How do you compare two objects?

0 Answers  


When should I use abstract classes and when should I use interfaces?

2 Answers  


Categories