Question: What are true properties of Java ArrayLists. 1 . The default size is 0 2 . You can use add ( ) to put primitive

What are true properties of Java ArrayLists.
1.The default size is 0
2.You can use add() to put primitive tyles in them.
3.There is a helper library with extra methods to help you do operations.
4.When initialized it is filled with a default value (depending on its type).
5.You can use add() to put object types in them.6.There are built-in methods for things like contains(Object o).7.You can change their size.8.You can slice them, like in python, with [l syntax to get a subsequence of the array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!