What is list of objects in Java?

The List interface in Java provides a way to store the ordered collection. It is a child interface of Collection. It is an ordered collection of objects in which duplicate values can be stored . Since List preserves the insertion order, it allows positional access and insertion of elements.

Sizin İçin Seçtik  What is object in programming with example?

Leave a Reply

Your email address will not be published. Required fields are marked *