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
How do you convert an int to a string in java?
What is meant by class and object in java?
What is api in java?
Differentiate between the constructors and methods in java?
What are the different types of collections in java?
When throw keyword is used?
Difference between notify() method and notifyall() method in java?
Is java ee a framework?
What is meant by polymorphism?
What is difference between filereader and bufferedreader?
explain the difference between jdk and jvm?
Why do we need hashmap in java?
What is use of functional interface in java 8? Explain
Explain about interrupt() method of thread class ?
explain multi-threading in java?