In Java, when you create a variable with a generic type, you can do new List extends MyClass> if you what that all elements of the list to be an extensi
new List extends MyClass>