What is the difference between super and extends in Java
This article mainly explains "what is the difference between super and extends in Java". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what's the difference between super and extends in Java?"
/ / compile error
The difference between / / List and type parameters is that all T represents the same type for the compiler. For example, in the following generic method, all three T refer to the same type, either String or Integer.
Public List fill (T... T)
But wildcards don't have this constraint. Plate simply means: there's something on the plate. I don't know what it is.
So the mistake in the subject question is here, and nothing can be put into the Plate.
4.2 Lower bound