Question Detail

The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above
Similar Questions :

1. Constructors has return type void ?

  • True
  • False

2. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

3. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class

4. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

5. What is true about Constructor ?

  • Its name is plural of class name.
  • Its name has * symbol before it.
  • Its name is same as of class name.
  • Its name has # symbol before it.
Read more from - C++ Programming Questions Answers - Set 2