ICSE Class 10 Computer Applications Question 17 of 24

Object Oriented Programming Concepts — Question 17

Back to all questions
17
Question

Question 17

Explain in detail how a class is different from an object.

Answer

The class is just a specification of the object. The attributes and methods in the class are thus declarations that do not contain any values. However, the object is a concrete instance of a class with properly defined values for each attribute and behaves as per the methods of the class.