... time.1
We are not constrained to use T to denote a type variable. We can use any name we want, but it is helpful to have a standard convention to avoid confusing type variable and normal data variables.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... writing2
In this context, Java does not distinguish between S implementing an interface T and S extending a class T. For both cases, we just write S extends T.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.