Course contentsShow
Java
Lesson 930 of 2,87022. Generics: Bounds and WildcardsPro lesson

Upper Bounded Wildcards: <? extends T> Syntax

Introduce <? extends T> for declaring collections that can hold T or any subtype of T.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.