Tell me about ArrayList?
- ArrayList in Java is used as a dynamic array to store elements.
- Can contain duplicate elements
- Maintain the orders of elements added
- Asynchornous mechanisms
- Speed of accessing elements is very fast because it’s stored data by index
- The operator of adding or removing elements is very slow because a lots of shifting among the elements is required