Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

Solve for x: 2(3x 1)2(x + 5) = 12

Answered: 1 week ago