What is the function of the "? extends T" and "? super T" generics

What is the function of the "? extends T" and "? super T" generics


PS: They normally use <> symbols, but quizlet is retarded
The first one signals that the data type should either be T, or a child of T. The second one indicates that the data type should be T or a parent class of T.


Learn More :

Data Structures

Learn More Multiple Choice Question :