adplus-dvertising
frame-decoration

Question

What is the relationship between Furniture, Table, and Chair in programming?

a.

Furniture is a client, Table and Chair are servers

b.

Furniture is a generalization of Table and Chair

c.

Table and Chair are specializations of Furniture

d.

Furniture is an object, Table and Chair are classes

Posted under Software Engineering

Answer: (b).Furniture is a generalization of Table and Chair Explanation:If we have objects Table and Chair, we may also define a more general object Furniture. Table and Chair are said to be specializations of Furniture, while Furniture is a generalization of Table and Chair. These relations are also known as ‘is-a’ relations.

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 relationship between Furniture, Table, and Chair in programming?