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
why not override thread to make a runnable? : Java thread
What is native method in java?
How do you use compareto method?
Explain the key functions of data binding?
What does isempty () do in java?
Explain the difference between treeset and treemap in java?
What is token in java?
What is io stream in java?
What is method reference?
Can we override constructor?
Explain the access modifiers for a class, method and variables?
What is a parameter in simple terms?
What is void data type?
What is runtime polymorphism or dynamic method dispatch?
What is string and its types?