download Mastguru Android App

Question Detail

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.
Similar Questions :

1. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

2. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

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

4. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class

5. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual
Read more from - C++ Programming Questions Answers - Set 2
Post a comment