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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started