ICSE Class 10 Computer Applications Question 22 of 25

Class as Basis of All Computation — Question 22

Back to all questions
22
Question

Question 22

Why are objects said to be instances of a class ?

Answer

A class represents a blueprint based on which actual memory is allocated for data members and methods of a class and it is called an object. So an object gets its own copy of data members and methods based on class details. Hence, objects are said to be instances of a class.