Advertisements
Advertisements
प्रश्न
Explain instance variables.
लघु उत्तर
उत्तर
- Instance variables are declared within a class but not in any member methods.
- They are also known as the fields of an object.
- Instance variables for various objects have different values.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Class as the Basis of all Computation (Objects and Classes) - EXERCISES [पृष्ठ ३८४]