Prepare a new object of type airconditioner using the


Question - Consider there is a class AirConditioner . The class supports the subsequent behaviors: turning the air conditioner on and off. The given methods are provided for these behaviors: turn_on and turn_off . Both methods accept no arguments and return no value.

There is a reference variable  office_a_c of type AirConditioner.

Prepare a new object of type AirConditioner using the office_a_c reference variable.

After that, turn the air conditioner on using the reference to the new object.

You have to prepare this in python program.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Prepare a new object of type airconditioner using the
Reference No:- TGS0967106

Expected delivery within 24 Hours