What do you understand by ArrayList in Java?

: 730
Paper : Java FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

ArrayList is present in java.util package and also the part of the collection framework. 

Features of ArrayList:

  • They are dynamic in nature. 
  • We can add, remove, update, and iterating the elements of ArrayList.
  • It allows to randomly access the elements.
  • It implements a List interface. 
  • It can not be used for primitive data types.