If you understand the mechanism of generics, if you want to use generic types in the parameter list in the method signature, you must first declare the generic parameter list in the method signature. That is, plus
The return type of the former is obviously different from that of the latter. It is an object type with generic type parameters, such as list.
But in terms of inclusiveness, class