Which of the following best defines a class?

Which of the following best defines a class?
A. Parent of an object
B. Instance of an object

C. Blueprint of an object
D. Scope of an object

ANSWER: C) Blueprint of an object
Explanation : A class is a template, or blueprint, from which objects are created. A class includes both data members as well as functions to manipulate that data.

Leave a Comment