Question Detail

Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above
Similar Questions :

1. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

2. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

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

4. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

5. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above
Read more from - C++ Programming Questions Answers - Set 2