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 / reddy
(initial capacity*3/2)+1
(100*3/2)+1
| Is This Answer Correct ? | 28 Yes | 4 No |
Post New Answer View All Answers
What is difference between static and abstract class?
What is array and arraylist in java?
What is keyword auto for?
What is :: operator in java 8?
do I need to use synchronized on setvalue(int)? : Java thread
What is the properties class?
What is Java Package and which package is imported by default?
Explain about anonymous inner classes in java?
What do you mean Abstraction in java?
Describe how to implement singleton design pattern in struts.
Can we define static methods inside interface?
What are the differences between heap and stack memory?
Explain different states of a thread in java?
Difference between final and effectively final ? Why is effectively final even required ?
How big is a gigabyte?