what is the Arraylist limit (maximum) by default ?
Answer Posted / raj
Array List can store more than 3277000 numbers. However the
size of list is depends on the memory (heap) size. If it
reaches maximum the JDK throws out of memory exception.
Is This Answer Correct ? | 67 Yes | 3 No |
Post New Answer View All Answers
What does bitwise or mean?
What is the difference between the boolean & operator and the && operator in java programming?
What is the static import?
What is bubble sorting in java?
What is javac used for?
What is the difference between scrollbar and scrollpane?
What is the advantage of preparedstatement over statement?
What is a string token?
In how many ways we can do synchronization in java?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What does arrays sort do in java?
What is the difference between arraylist and hashset in java?
What is an empirical question?
Explain some best practices you would apply while using collection in java?
Explain about class in java?