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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the point of polymorphism java?

535


What does I ++ mean?

592


What is the purpose of encapsulation?

534


What’s a deadlock?

602


What are conditionals and its types?

575






How many bytes is string in java?

599


Java.util.regex consists of which classes?

536


List the interfaces which extends collection interface?

525


What is hashing principle in java?

546


What is thread pool in java with example?

534


Explain about instanceof operator in java?

600


Is main a keyword in java?

530


How do you test a method for an exception using junit?

527


What is array and arraylist in java?

518


What is the need of transient variables in Java ?

572