Computer Science, asked by TbiaSupreme, 1 year ago

An inheritance model refers to which of the following relationships ?(a) 'is-a' relationship
(b) 'bas-a' relationship(c) 'a-part-of relationship
(d) All of these

Answers

Answered by Anonymous
0
Hello here is your answer by Sujeet yaduvanshi ☝☝☝☝☝

Answer:- All of these (D)
Answered by mindfulmaisel
2

An inheritance model refers to ‘is-a’ relationship.

Option: (a)

Explanation:

  • In Object oriented programming or OOP concept, the concept of IS-A relationship is entirely based on the inheritance.  
  • There can be two types of inheritance namely class based inheritance and interface based inheritance.  
  • We can say them like ‘X is a Y type of thing’. For example, orange is a Fruit, Cycle is a Vehicle etc.
  • Inheritance can be defined as uni-directional. For example, Tent is a Building. But Building is not a tent.
Similar questions