How does arraylist work in java?



How does arraylist work in java?..

Answer / Solanki Dilavarkhan

An ArrayList in Java is a dynamic array that can resize itself as elements are added or removed. It is implemented as an array internally, but the size of the array can change automatically to accommodate new elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

When should the method invokelater() be used?

1 Answers  


Where is singleton pattern used?

1 Answers  


What is nested interface?

1 Answers  


Java is Pass by Value or Pass by Reference?

1 Answers   BirlaSoft,


write a program to create an vector with string(add,remove) operation.and value should be enter through keyboard.

0 Answers   Axcend,


Describe the various concepts related to object oriented programming (oop).

1 Answers  


Can we clone singleton class in java?

1 Answers  


How can you sort dates?

2 Answers   TCS,


Explain Basics of OOP Language in java

1 Answers   Atos Origin,


What are the advantages of autoboxing?

1 Answers  


Explain the scope of a variable.

1 Answers   TCS,


diffrence b\w println() and printf()

8 Answers   NIIT,


Categories