G
Guest
Hi,
I would like to know two things about generics:
1. Can an interface be gerneric? I want the implementing class to be
generic, so the interface has to be.
2. I have a gerneric class, which I want to use as a base class for my own.
But in the subclass I do now the exact type which will be processed and I
don't want anyone to have the ability of changing this. Is it possible to
extend a gerneric base class with a non-gerneric class? And if so, how?
Thanks a lot..
Stampede
I would like to know two things about generics:
1. Can an interface be gerneric? I want the implementing class to be
generic, so the interface has to be.
2. I have a gerneric class, which I want to use as a base class for my own.
But in the subclass I do now the exact type which will be processed and I
don't want anyone to have the ability of changing this. Is it possible to
extend a gerneric base class with a non-gerneric class? And if so, how?
Thanks a lot..
Stampede