6

<T extends Greetable>
void greet(T object) {
object.greet()
}
...
// Did you just infer my type?!

Comments
Add Comment