adplus-dvertising
frame-decoration

Question

Can we call methods of base class using constructor of the derived class?

a.

Yes, always

b.

Yes, but not always

c.

No, never

d.

No, but we can call in some cases

Answer: (a).Yes, always

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Can we call methods of base class using constructor of the derived class?

Similar Questions

Discover Related MCQs

Q. If a base class is inherited from another class and then one class derives it, which inheritance is shown?

Q. How many base classes can a single derived class have in C++?

Q. If a base class is added with few new members, its subclass must also be modified.

Q. Which among the following is best definition of a derived class?

Q. Which among the following is inherited by a derived class from base class?

Q. If there is a derived class in a program, how many classes must be in that program?

Q. Which members can never be accessed in derived class from the base class?

Q. How many types of inheritance are supported in C++ for deriving a class?

Q. How many derived class can a single base class have?

Q. If a class is being derived using more than two base classes, which inheritance will be used?

Q. Derived class is also known as ______________ class.

Q. If class A is derived from another derived class B which is derived from class C, which class will have maximum level of abstraction?

Q. If base class is an abstract class then derived class ______________ the undefined functions.

Q. How many classes can be derived from a derived class?

Q. The members of a derived class can never be derived.

Q. Which feature is not related to the derived classes among the following?

Q. Deriving a class in such a way that that the base class members are not available for further inheritance is known as ___________________

Q. Which among the following is the main characteristic of class?

Q. To group all the brands of cars, what should be used?

Q. If a class have two data members and two functions to add those two numbers and to subtract them, which among the following is most efficient if the programmer wants to implement multiplication too?