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

The extends Keyword in Generic Type Parameters

Using extends to specify an upper bound for a type parameter, restricting it to a specific class or its subclasses.

This lesson is for subscribers

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