Let's explore some Java basics - today, bounded type parameters or "What the ... does `<T extends Number>` mean?" Also, "When do (not) I use them?" 🧵 (If you prefer video, it just so happens that I published one on the topic yesterday: youtube.com/watch?v=9rF67I… 😁) 1/7
2
5
26
0
7
Whenever you put `<T>` (or any such term) behind a type's declaration or before a method's return type, you *declare* a type parameter. Written like that, every type can be used as a `T` from `Object` all the way down to `String` and `Integer`. Interfaces as well, of course. 2/7