Generics and extending a class

Does anyone know the syntax for declaring a generic which extends a class Hence, if I want to return a generic property which extends a class named "Container", how would I write this The Java equivalent is "< extends Container>"Any suggestions would be great.Thanks!

Answer this question

Generics and extending a class

  • Muhsin Zahid U&amp;#287;ur

    Hello,

    What you exactly mean by extending a class Can you describe more clearly

    Thank you



  • Generics and extending a class