Which of the following holds true as inheritance relationship?

Options
- ‘has-a’ relationship
- ‘is-a’ relationship
- association relationship
- none of the above


CORRECT ANSWER : ‘is-a’ relationship

Discussion Board
C++ - Inheritance

'is-a' relationship holds true as inheritance. For example, mammal IS-A animal, dog IS-A mammal hence dog IS-A animal as well and so on.

Prajakta Pandit 01-30-2017 07:13 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement