Calling tv.turnOn() gives us an error. What's the best way to fix this code?

Make Television extend ApplianceMake tv an instance of Appliance insteadAdd turnOn() to Television

Make Television extend Appliance.