A microware control panel has four buttons:
i) increases the time by 30 seconds,
ii) switches between power levels 1 and 2
iii) a reset button
iv) a start button.
Your job is to model the microware control panel in Java andimplement a class for simulating the microwave, with appropriatepublic interface for each button. When client invoke start button,it should print a message “Cooking for … seconds at level …”;replace … with current state values.
Write a client program/code to thoroughly test the class.Take snapshots of your tests and include those withsubmission.
code should be written in java
Expert Answer
An answer will be send to
PayPal Gateway not configured
PayPal Gateway not configured