Class is best described as
-
a user defined data type
-
a data type
-
a template for objects
-
all of the above
C
Correct answer
Explanation
A class is fundamentally a template or blueprint that defines the structure and behavior of objects. While it's also a user-defined data type, 'template for objects' best captures its role in creating instances.