An object is _____

[amp_mcq option1=”a category of classes” option2=”a name given to a class” option3=”an instance of a class” option4=”the same as a class” correct=”option3″]

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.