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
What is class variable java?
Can we define package statement after import statement in java?
What is difference between fail-fast and fail-safe?
What is a platform?
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.
What is the difference between && and & in java?
How do you break a loop?
Is a class subclass of itself?
What is the symbol for average?
Do I need to import java.lang package any time? Why?
What are the main differences between notify and notifyAll in Java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What is meant by 'bit masking' in java?
How to pass arraylist to stored procedure in java?
What is percentage in java?