download Mastguru Android App

Question Detail

Inheritance is transitive in nature.

  • True
  • False
Similar Questions :

1. What is true about Constructor ?

  • Its name is plural of class name.
  • Its name has * symbol before it.
  • Its name is same as of class name.
  • Its name has # symbol before it.

2. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

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

4. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

5. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment