Question Detail

Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above
Similar Questions :

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

2. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

3. The process of deriving a class from another derived class is known as ?

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

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

5. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve
Read more from - C++ Programming Questions Answers - Set 2