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 are the various access specifiers in java?
How do you define a set in java?
Explain about varargs in java?
What do you mean by formatting?
What is factor r?
Why do we use regex?
what is instanceof operator used in java?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What are the benefits of java?
Why is string builder not thread safe?
Write a code to show a static variable?
Explain the difference between serializable and externalizable in java?
How do you stop a thread in java?
What is array list in java?
When should we create our own custom exception classes?