Advertisements
Advertisements
प्रश्न
What is the difference between an object and a class?
फरक स्पष्ट करा
उत्तर
The differences between an object and a class are:
S. No. | Class | Object |
1. | It is a blueprint or prototype of an object. | It is a unique entity having some characteristics and behaviour. |
2. | It is known as 'Object Factory'. | It is known as an 'Instance of a Class'. |
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?