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 / dhruba guha
if the initial size is = N
then it will expanded memory will be = N + N/2 +1
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How do you generate random numbers in java?
What is the purpose of default constructor?
What is singleton pattern?
is it possible to instantiate the math class?
What are features of java?
Is math class static in java?
Where is const variable stored?
Can a set contain duplicates?
What is an example of a boolean?
What is class forname?
What is string in java with example?
What do you mean by local variable and instance variable?
what do you mean by java annotations?
Enlist few advantages of inheritance?
What are class members by default?