Type in declaration must match type in instantiation.
When <?> is used as declaration type, any type can be used in instantiation.
When <? extends X> as declaration type, X and any sub type of X can be used in instantiation.
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.