मराठी

During inheritance, the public and protected members remain in the same form in the derived class. - Computer Applications

Advertisements
Advertisements

प्रश्न

During inheritance, the public and protected members remain in the same form in the derived class. 

पर्याय

  • True

  • False

MCQ
चूक किंवा बरोबर

उत्तर

This statement is False.

Explanation:

Although public and protected members are passed down to the derived class via inheritance, their accessibility may vary slightly depending on where the derived class is accessed. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 8: Encapsulation and Inheritance - EXERCISES [पृष्ठ ४४४]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×