हिंदी

Which type of data is not accessed in a derived class? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which type of data is not accessed in a derived class? 

विकल्प

  • Public 

  • Private 

  • Protected 

  • None 

MCQ

उत्तर

Private

Explanation:

Private members of derived classes cannot be accessed directly. These members are only accessible within the base class itself. 

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×