Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following statements is TRUE about the difference between an Array and an ArrayList in Java?
Array
ArrayList
Both Arrays and ArrayLists can use the add() method to insert elements.
add()
Arrays have a fixed size once declared, whereas ArrayLists can grow and shrink dynamically.
Arrays can grow dynamically, while ArrayLists have a fixed size.
ArrayLists can store primitive data types directly, whereas Arrays can only store objects.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!