Quiz Yourself: Classes and OOP II

Assess your understanding of inheritance, polymorphism, casting, and static members in C#.

We'll cover the following...
Technical Quiz
1.

Which statement correctly explains why T is used in a generic class definition?

A.

T enforces that only primitive types can be used.

B.

T acts as a placeholder for a specific type specified at instantiation.

C.

T automatically converts any input type into a string for internal storage.

D.

T ensures that the class can only be instantiated once per application.


1 / 12