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 / srinu
Arraylist are growble nature.so present capacity of arraylist
100 then add an 101 element then that time current capacity
is formula
(101*3/2)+1=151
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Why java is made?
Difference between a process and a program?
Explain creating threads by extending thread class ?
What does exp mean in math?
How to find the given number is a prime number or not by getting input from the user
How do I run java on windows?
What are the two main uses of volatile in Java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Can singleton class be serialized?
What is visibility mode?
How does map works in java?
How use .contains in java?
What is the different between get and post?
What does localhost mean?
what invokes a threads run() method? : Java thread