List in Java usage and example explanation

Here Insert Picture Description

List usage
List List interface and includes all class that implements the List interface. Because the List interface Collection interface, so List interface has all the usual methods of the Collection interface provides, but also because List is a list type, so the List interface also provides some common methods suitable for their own, as shown in Table 1.

Table 1 Common methods and functions of the interface definition List

Published 254 original articles · won praise 23 · views 50000 +

Guess you like

Origin blog.csdn.net/qq_30242987/article/details/104701291