download Mastguru Android App

Question Detail

A virtual base class ?

  • is qualified as virtual in base class definition.
  • do not qualified as virtual in base class definition.
  • allows to inherit more than one copy of the base class members.
  • strict the path of inheritance.
Similar Questions :

1. Explicit call to a constructor means ?

  • Not providing the construction name at all
  • Is the shorthand method
  • Providing the constructor name explicitly to invoke it
  • Providing the constructor name implicitly to invoke it

2. 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

3. Can we define array of classes in c++ ?

  • Yes
  • No

4. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

5. We can do constructor overloading in C++ ?

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment