Assume there is a class AirConditioner that supports the following behaviors : turning the air conditioner on and off, and setting the desired temperature. The following methods provide these behaviors : turnOn and turnOff, which accept no arguments and return no value , and setTemp, which accepts an int argument and returns no value.

java

LANGUAGE: JAVA CHALLENGE: Assume there is a class AirConditioner that supports the following behaviors : turning the air conditioner on and off, and setting the desired temperature. The following methods provide these behaviors : turnOn and turnOff, which accept no arguments and return no value , and setTemp, which accepts an int argument and returns…

Read More