Which statement declares a generic class?

Which statement declares a generic class?

Which statement declares a generic class?

A.
public class Example < T >{ }

B.
public class <Example>{ }

C.
public class Example <> { }

D.
public class Example (Generic){ }

E.
public class Example (G) { }

F.
public class Example { }



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Naresh

Naresh

Correct Answer (A)