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. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

3. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

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

5. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer
Read more from - C++ Programming Questions Answers - Set 2