source The last question is about arrays and generics. Which of the following lines can be
compiled?
a)Basket<Apple>[] b = new Basket<Apple>[10];
b)Basket<?>[] b = new Basket<Apple>[10];
c)Basket<?>[] b = new Basket<?>[10];-
answer d)public <T> T[]
test() {return null;}-
answer e)public <T> T[] test() {return new T[10];}
why new Basket<?>[10] is legal in option c. Can anybody please explain?