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
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 |
What is the finalize method do?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
Which is the best way of exception handling?
How many bytes is a string?
What is api data?
What is canonical name in java?
Why do we use string?
"We cannot create an object of interface but we can create a variable of it". Discuss the statement with the help of an example. (Plz help us to provide immediately.)
What is the use of string and stringbuffer?
Is static a singleton?
How do you read a char in java?
What is difference between final and finally in java?