download Mastguru Android App

Question Detail

What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration
Similar Questions :

1. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

2. Meaning of STL

  • Standard Tree Library
  • Standard Term Library
  • Standard Template Library
  • None of above

3. What is abstract class

  • Whose objects cant be created
  • Whose objects can be created
  • Depends on class
  • None of above

4. Every class has atleast one construtor

  • True
  • False

5. How we mark the end of c++ statement

  • ;
  • :
  • >>
  • <<
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment