download Mastguru Android App

Question Detail

Inheritance is referred to as

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

1. && means ?

  • Logical OR
  • Bitwise OR
  • Logical AND
  • Bitwise AND

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

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

4. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator

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
Post a comment