Hi friends,
In the boldened line in this code, doesn't <?> get substituted with <Apple> during compile time? (I was thinking it would...)
The compiler shows me an error for using the next statement...
Basket.java:18: setElement(capture of ?) in Basket<capture of ?> cannot be appli
ed to (Apple)
b5.setElement(new Apple());