Question: what are arraylist in java?
Answer: ArrayList in Java is used to store dynamically sized collection of elements. Contrary to Arrays that are fixed in size, an ArrayList grows its size automatically when new elements are added to it. ... An ArrayList is a re-sizable array, also called a dynamic array.