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
Is 0 true or false?
What do you understand by copy constructor in java?
why are there separate wait and sleep methods? : Java thread
Write a program to calculate factorial in java?
What is the argument in java?
Is java 1.7 the same as java 7?
What defines function?
Differentiate between stringbuffer and stringbuilder in java.
How do you remove an object from an arraylist in java?
How java uses the string and stringbuffer classes?
What is method overriding in java ?
How do you check if a character in a string is a digit or letter?
What are the java ide's? Explain
What is the difference between member variables initialization and assignment in a constructor?
explain copyonwritearraylist and when do we use copyonwritearraylist?