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 / saty
It is undocumented by sun/oracle. Also it varies from one
java cersion to another..... in Java 6==>
(100*3)/2+1
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Why do we create threads in java?
Should database connections be singleton?
What is the purpose of garbage collection in java?
What is difference between hashset and hashmap in java?
What is the maximum size of byte array in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What is qualitative variable?
What is variable explain with example?
Can an integer be null java?
What is the generic function?
What are the methods to rectify ambiguities in the interfaces in JAVA?
How many types of string data types are there?
What is the base class of all exception classes in java?
What is the purpose of default constructor?
how to create multithreaded program? : Java thread