Moderate

Which of the following describes"Is-a-Relationship" ?

Correct answer: B. Inheritance

  • A. Aggregation
  • B. Inheritance
  • C. Dependency
  • D. All of the mentioned

Explanation

An is-a relationship means that one class is a specialized form of another, which is modeled through inheritance. Aggregation expresses a has-a relationship, while dependency indicates reliance between elements.

Last updated

Practise Software Design and Architecture

493 free Software Design and Architecture MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions