in Others edited by
411 views
0 votes
0 votes

In Software Modeling $\text{‘IS A’}$ represents ______________ relationship.

  1. Aggregation 
  2. Over loading 
  3. Inheritance 
  4. Design Patterns
in Others edited by
411 views

1 comment

1
1

1 Answer

0 votes
0 votes

Ans C.(Inheritance)

IS-A Relationship:

In object-oriented programming, the concept of IS-A is a totally based on Inheritance, which can be of two types Class Inheritance or Interface Inheritance. It is just like saying "A is a B type of thing". For example, Apple is a Fruit, Car is a Vehicle etc. Inheritance is uni-directional. For example, House is a Building. But Building is not a House.

Related questions