Accessing element of a collection

Report a typo

Suppose you have an object of ArrayList called collection.

How do you access an element of this collection by its index?

Select one option from the list

Create a free account to access the full topic