Which statements are correct?
A If a base class consists of a member function fun() and a derived class do not have any function with this name. An object of derived class can access fun()
B A class D can be derived from class C, which is derived from class B which in turn is derived from class A
C If a base class and a derived class each include a member function with same name, the member function of the derived class will be called by object of derived class
D All of the mentioned
Answer:A
Which statements are correct?
A If a base class consists of a member function fun() and a derived class do not have any function with this name. An object of derived class can access fun() B A class D can be derived from class C, which is derived from class B which in turn is derived from class A C If a base class and a derived class each include a member function with same name, the member function of the derived class will be called by object of derived class D All of the mentioned