if arraylist size is increased from initial size what is
the size of arraylist...suppose initial is 100 , if i add
101 element what is the size...
Answer Posted / ravindra reddy
The size of the arraylist will increase to 150 why because
in arraylist the elements are reach to initial size of the
array list then size will be increase to half of the
capacity
Is This Answer Correct ? | 38 Yes | 13 No |
Post New Answer View All Answers
Is hashmap thread safe?
Explain access modifiers in java.
What do you mean by default constructor in java?
Can we have static methods in an interface?
How to make a non daemon thread as daemon?
What are the differences between processes and threads?
What is a null point?
What's the difference between comparison done by equals method and == operator?
What is difference between jdk,jre and jvm?
What is regex used for?
Which list is sorted in java?
Explain numeric promotion?
What is the size of an array?
How would you use Bubble Sort to sort the number of elements?
What is a modifier?