download Mastguru Android App

Question Detail

Inheritance is transitive in nature.

  • True
  • False
Similar Questions :

1. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

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

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

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

4. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

5. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment