You are on page 1of 1

(3)will fall under the .......

section of the subclass

(2)When inheriting private protected public


from accesss
specifier(LtoR)
(1)Base class members
from-down
Private section Not visible in sub class Not visible in sub class Not visible in sub class
Protected section Private protected protected
Public section Private protected public

1.All the members(data and functions) of the base class are always inherited into the
subclass(irrespective of access specifier)
2.The constuctor also inheriting by the derived class.However they must be accesed inthe same
class wr de defined.
3.Further same as above.

You might also like