Question: In the context of Object-Oriented (OO) Analysis, there is a class-based modelling inheritance hierarchy which includes a super-class named as Furniture and a number of

In the context of Object-Oriented (OO) Analysis, there is a class-based modelling inheritance hierarchy which includes a super-class named as Furniture and a number of subclasses named as Table, Chair, Desk, and Sofa.

A) What is the meaning of inheritance in the context of OO class-based modelling? (5 marks)

B) Please list five common attributes that the Furniture class may have and briefly discuss if these attributes can be used by its subclasses. (7 marks)

C) Please briefly discuss the specific attributes that each subclass can have. (8 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!