Question: Observer pattern: Draw a class diagram for a weatherStation which can sense temperature and send out notification to public. If a user register for the

 Observer pattern: Draw a class diagram for a weatherStation which can

Observer pattern: Draw a class diagram for a weatherStation which can sense temperature and send out notification to public. If a user register for the weatherStation.com, he/she will be notified by the weatherStation and he/she can also know the temperature. a) Draw a class diagram using observer pattern. b) Draw a sequence diagram (bonus 5 pts). c) Write a pseudo class in java. You can ignore the detail implementation but your code should indicate the relations. Observer pattern: Draw a class diagram for a weatherStation which can sense temperature and send out notification to public. If a user register for the weatherStation.com, he/she will be notified by the weatherStation and he/she can also know the temperature. a) Draw a class diagram using observer pattern. b) Draw a sequence diagram (bonus 5 pts). c) 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!