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

What is string value?

0 Answers  


What is the difference between a synchronized method and a synchronized block?

0 Answers  


when everything can be done by static block then why do we use main method?.

2 Answers  


Explain about global variables in Java?

3 Answers  


Why does java doesnt suuport unsigned values?

0 Answers   ABC,






can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet?

1 Answers   Systematix,


What is the protected method modifier?

0 Answers  


What is preparedstatement in java?

0 Answers  


Hi Friends, can u give code to convert ArrayList to HashMap and HashMap to ArrayList.

1 Answers  


What is meant by class loader and how many types are there?

2 Answers   Apple,


what is difference between requestprocessor and request dispatcher?

2 Answers   Tech Mahindra,


What is the core java?

0 Answers  


Categories