An object is _____

a category of classes
a name given to a class
an instance of a class
the same as a class

The correct answer is C. An object is an instance of a class.

A class is a blueprint for creating objects. It defines the properties and methods that an object will have. An object is an instance of a class. It is a concrete representation of a class.

Option A is incorrect because a category of classes is called a “hierarchy”.

Option B is incorrect because a name given to a class is called a “name”.

Option D is incorrect because an object is not the same as a class. An object is an instance of a class.

Exit mobile version