Question: Composite pattern: Given three classes: Staff (interface), Faculty and Director. a) Draw a class diagram using composite pattern b) Write a pseudo class in java.

 Composite pattern: Given three classes: Staff (interface), Faculty and Director. a)

Composite pattern: Given three classes: Staff (interface), Faculty and Director. a) Draw a class diagram using composite pattern b) Write a pseudo class in java. You can ignore the detail implementation but your code should indicate the relations. Adapter pattern: Client interface +displayfin x1, in y1, in x2, in y2) adapteer LegacyRectangle Rectangle +display(in x1, in y1, in x2, in y2) +display (in x1, in y1, in w, in h) a) Draw a sequence diagram for the above class diagram (5 bonus) b) Write a pseudo class in java. You can ignore the detail implementation but your code should indicate the relations. Composite pattern: Given three classes: Staff (interface), Faculty and Director. a) Draw a class diagram using composite pattern b) Write a pseudo class in java. You can ignore the detail implementation but your code should indicate the relations. Adapter pattern: Client interface +displayfin x1, in y1, in x2, in y2) adapteer LegacyRectangle Rectangle +display(in x1, in y1, in x2, in y2) +display (in x1, in y1, in w, in h) a) Draw a sequence diagram for the above class diagram (5 bonus) b) Write a pseudo class in java. You can ignore the detail implementation but your code should indicate the relations

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!