Skip to content
Sign in
Computer

What is a class in object-oriented programming?

Tap an option to check the answer. You can also press A–D.

Show answer

Correct answer: A) A blueprint for creating objects

A class is a blueprint or template for objects. It defines data members and methods. Objects are created from classes. Last verified on 14-11-2026
Explanation
A class is a blueprint or template for objects. It defines data members and methods. Objects are created from classes. Last verified on 14-11-2026