हिंदी

'Object is an Instance of a class.' Explain this statement. - Computer Applications

Advertisements
Advertisements

प्रश्न

'Object is an Instance of a class.' Explain this statement. 

स्पष्ट कीजिए

उत्तर

A class is a blueprint for an object. When defining a class, only the attributes shared by all its objects are stored in memory, and no more space is required. Additionally, when a class object is formed, it includes the class's instance variables. This explains why an object is referred to as a class instance. 

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Class as the Basis of all Computation (Objects and Classes) - EXERCISES [पृष्ठ ३८४]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 6 Class as the Basis of all Computation (Objects and Classes)
EXERCISES | Q V. 1. | पृष्ठ ३८४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×