Java Reference
In-Depth Information
meter so that it must extend
Thread
.
first type parameter.
has one parameter whose type is that of the type parameter. It also returns an object
of that type parameter. Show how to declare
MyGen( )
.
show the declaration of a class called
MyClass
that implements
IGenIF
.
type.
11
.
Do type parameters exist at run time?
ic. In the process, create a stack interface called
IGenStack
that generically defines
the operations
push( )
and
pop( )
.