adplus-dvertising
frame-decoration

Question

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

a.

To describe the real-world part-of relationship

b.

To describe the representational part-of relationship

c.

To organize objects into a hierarchy

d.

To describe how compound things are made up of simpler things

Answer: (d).To describe how compound things are made up of simpler things Explanation:The part-of relation aggregates components into a ‘whole’. It describes how compound things are made up of simpler things.

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 part-of relation in object-oriented design?