Computer Science, asked by shaguftanizami82, 2 months ago

6.
What is visibility mode in inheritance?
Mention any one type of inheritance?
7.​

Answers

Answered by niharikagurjar2005
4

Answer:

Visibility mode is used in the inheritance of C++ to show or relate how base classes are viewed with respect to derived class. When one class gets inherited from another, visibility mode is used to inherit all the public and protected members of the base class.

Hope this will help u

Answered by supriyaverma80
0

Answer:

6.Visibility mode is used in the inheritance of C++ to show or relate how base classes are viewed with respect to derived class. When one class gets inherited from another, visibility mode is used to inherit all the public and protected members of the base class.

7.Inheritance is a mechanism of acquiring the features and behaviors of a class by another class. The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. Inheritance implements the IS-A relationship.

Explanation:

thanks..

Similar questions