Comprehensive practical training of Java generics, collection framework, List interface, Iterator and Collections tool classes
1, Review of knowledge points
1. Java generics < >
Concept:
Generics are used to specify the data type you want to use. Angle brackets < > are used to indicate that the data type must be class.
For example, a Worker class is created and used as a generic type, < student >.
be careful:
The data type cannot be a native ...
Added by anon_amos on Tue, 08 Feb 2022 04:57:05 +0200