What is List of method in Java?

The List interface provides four methods for positional (indexed) access to list elements . Lists (like Java arrays) are zero based. Note that these operations may execute in time proportional to the index value for some implementations (the LinkedList class, for example).

Sizin İçin Seçtik  How do you create a new list in Java?

Leave a Reply

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