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 finalize() function in java?

0 Answers  


How could Java classes direct program messages to the system console, but error messages, say to a file?

2 Answers  


What is the relationship between class and object?

0 Answers  


There is a Banking application. It has 2 types of account, Savings and Current. Write a method calculateInterest by passing an ArrayList of these account objects and calculate Interest accordingly. Write code for this situation

1 Answers   ABC, KPIT,


What is the use of isempty in java?

0 Answers  






Explain about object oriented programming and its features?

0 Answers  


What are the characteristics of Final,Finally and Finalize keywords.

0 Answers   Flextronics,


Does substring start with 0?

0 Answers  


Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.

2 Answers  


explain the collection in java

1 Answers   WDC,


How many types of design patterns are there?

0 Answers  


How many unicode characters are there?

0 Answers  


Categories