what is the Arraylist limit (maximum) by default ?
Answer Posted / shreya tanavade
Sorry fo r d mistake...Arraylist default capacity is 10...Aftr that wen you add the 11 th element its size increases by 50%....i.e...it becomes 15..and it goes on increasing as u go on adding...
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is int a class in java?
What is the reflection?
How do you write a conditional statement?
Is java code slower than native code?
What is the method in java?
What is ++ a in java?
Difference between predicate, supplier and consumer ?
What happens if an exception is not handled in a program?
What is the importance of finally block in exception handling?
What are the supported platforms by java programming language?
What is a functional interface?
What is the declaration statement?
What is treemap in java?
Can this keyword be used to refer static members?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?