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. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

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

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

3. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded

4. Operator overloading is ?

  • giving new meaning to existing c++ operators
  • making c++ operators work with objects
  • giving c++ operators more than they can handle
  • making new c++ operators

5. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared
Read more from - C++ Programming Questions Answers - Set 2