adplus-dvertising
frame-decoration

Question

What is the purpose of the is-a relation in object-oriented design?

a.

To describe the relationship between a set and its members

b.

To describe the real-world part-of relationship

c.

To organize objects into a hierarchy

d.

To describe the representational part-of relationship

Answer: (c).To organize objects into a hierarchy Explanation:The is-a relation is one way to organize (object) types into a hierarchy.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the purpose of the is-a relation in object-oriented design?