Java Code – Car Monitoring System, computer science homework help
Java Code – Car Monitoring System, computer science homework help
Implement a simple Car Monitoring System using the Observer pattern.
You only have to implement it for 1 Car and 3 different types of Monitors (simple, medium, advanced). Cars can notify 3 different levels of current state (NO_REPAIR, IMMINENT_REPAIR, REPAIR_NEEDED_OR_EXPLODE). The simple monitor can only notify its monitor that the car needs repair, and the medium monitor also indicates the level of the repair.
The advanced monitor cannot only notify its monitor that the car needs repair and display the level of the repair, but also can actually be hooked up to listen to two different cars (i.e. CSUCar objects). UML class diagram is required.
Side Note: We will have 3 Interfaces: Subject, Observer, and DisplayElement
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


