FlashcardIntermediate

Generic Constraints with extends

Understand how extends restricts what types a parameter accepts.

Question

What does `extends` do in a generic constraint?

Click to reveal answer