From K and B SCJP6 master exams
The answer to following question are A, B and F.
I can understand A and B being correct but F?
F could put a car in the
Fruit basket.
Why are T and E not considered correct? Please explain.
Given:
Which inserted at //insert code here, will compile???
A. class pie<T extends Food> {
B. class Pie<T extends Fruit> {
C. class Pie<T extends Apple> {
D. class Pie<T extends Pie> {
E. class Pie<T super Apple>
F. class Pie<T> {