Question Detail

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

  • derived class
  • base class
  • sub class
  • basic class
Similar Questions :

1. 66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the above

2. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

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

  • virtual
  • public
  • static
  • private

4. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

5. 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.
Read more from - C++ Programming Questions Answers - Set 2