हिंदी

Define a class with an example. - Computer Applications

Advertisements
Advertisements

प्रश्न

Define a class with an example.

परिभाषा

उत्तर

It is a blueprint or prototype of an object. It is known as the 'Object factory' because it produces the objects of similar type. 

Example: If we create a class called "Fruits," it represents a category and can have characteristics and methods that apply to all varieties of fruits.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.02: Elementary Concept of Objects and Classes - EXERCISES [पृष्ठ १६]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.02 Elementary Concept of Objects and Classes
EXERCISES | Q III. 2. (i) | पृष्ठ १६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×