English

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

Advertisements
Advertisements

Question

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

Options

  • Public 

  • Private 

  • Protected 

  • None 

MCQ

Solution

Private

Explanation:

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

shaalaa.com
  Is there an error in this question or solution?
Chapter 8: Encapsulation and Inheritance - EXERCISES [Page 444]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 8 Encapsulation and Inheritance
EXERCISES | Q I. 1. | Page 444
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×