हिंदी

Give reason: In what circumstances is a class derived privately? - Computer Applications

Advertisements
Advertisements

प्रश्न

Give reason:

In what circumstances is a class derived privately?

कारण बताइए

उत्तर

Java doesn't support protected and private inheritance. Java classes always derive publically. 

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 8: Encapsulation and Inheritance - EXERCISES [पृष्ठ ४४६]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 8 Encapsulation and Inheritance
EXERCISES | Q V. 15. (b) | पृष्ठ ४४६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×