Multiple choice

Which of the following is considered as a blue print that defines the variables and methods common to all of its objects of a specific kind?

  1. Object

  2. Class

  3. Method

  4. Real data types

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A class is a blueprint or template that defines the structure and behavior of objects. It specifies what attributes (variables) and methods will be common to all objects created from it. Objects are the actual instances created from this blueprint. Methods define behavior, and real data types are primitive types, not blueprints.