what is the Arraylist limit (maximum) by default ?
Answer Posted / shreya tanavade
Sorry fo r d mistake...Arraylist default capacity is 10...Aftr that wen you add the 11 th element its size increases by 50%....i.e...it becomes 15..and it goes on increasing as u go on adding...
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to implement a multithreaded applet?
Differentiate between array list and vector in java.
What is the difference between this() and super() in java?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is null data type?
How do you format in java?
Can java list contain duplicates?
What is the use of default method in interface in java?
Why do you canvas?
What is off heap memory?
What's the base class in java from which all classes are derived?
What is lossy conversion in java?
Is object a data type in java?
Can we execute java program without main method?
How do you differentiate abstract class from interface?