Advertisements
Advertisements
प्रश्न
Which of the following is true with respect to inheritance?
पर्याय
Private members of the base class are inherited to the derived class with private.
Private members of the base class are not inherited to the derived class with private accessibility.
Public members of a base class are inherited but not visible to the derived class.
Protected members of the base class are inherited but not visible to the outside class.
MCQ
उत्तर
Private members of the base class are not inherited to the derived class with private accessibility.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?