Re: Simple question: bounded generics



Hi,

Ben wrote:
Is it possible to bound a generic to an interface?

Simple answer: yes!

class classA< T extends Comparable>
{


}

Ciao,
Ingo

.