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) 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
Get step-by-step solutions from verified subject matter experts
