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. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array

2. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

3. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

4. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

5. What is data hiding ?

  • It is related with hiding internal object details
  • It is related with showing internal object details
  • It is related with datatypes
  • None of above
Read more from - C++ Programming Questions Answers - Set 2