Question: implement the television class instance variables: private boolean isOn, private int currentChannel, private int currentVolume, the television class doesnt need a constructor however the instance

implement the television class instance variables: private boolean isOn, private int currentChannel, private int currentVolume, the television class doesnt need a constructor however the instance variables need defualt values a new tv is off by default the channel is set to three and the volume level to two methods: create methods based on the following signatures void turnOff() void turnOn() void changeChannel(int newChannel) void channelUp() void channelDown() void raiseVolume() void lowerVolume()

im stuck on the not needing a method and fell like im over complicating it

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!