Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Programing. Intro to Java.Please do thie project using BlueJ. Please, add java codes as stated in the comment. Do Not change the codes that

Java Programing. Intro to Java.Please do thie project using BlueJ. Please, add java codes as stated in the comment. Do Not change the codes that are already there just add whats asking. Make sure your output is exactly as same as the one below. Thank you so much your your time, I really appriciate it.

Here is the code in text format: https://www.writeurl.com/text/y209f2bbw1y3wxl2av12/endxhf1ca60p6v4m2edv

image text in transcribed

image text in transcribed

public static void main(String[] args) //create a Scanner object to read from the keyboard Scanner keyboardnew Scanner (System.in); //declare variables int station; //the user's channel choice //declare and instantiate a television object Television bigScreennew Television( "Toshiba", 55); //turn the power on bigScreen.power(O; //display the state of the television System.out.print1n("? " + bigScreen.getScreenSize() + " inch " + bigScreen.getManufacturer( +" has been turned on."); //prompt the user for input and store into station System.out.print ("What channel do you want?") station keyboard.nextInt(); //change the channel on the television bigScreen.setChannel(station) //increase the volume of the television bigScreen.increaseVolume() //display the the current channel and volume of the television System.out.println("Channel "bigScreen.getChannel() Volume "+ bigScreen.getVolume )) System.out.println("Too loud! I am lowering the volume."); //decrease the volume of the television bigScreen.decreaseVolume bigScreen.decreaseVolume () bigScreen.decreaseVolume() bigScreen.decreaseVolume ) bigScreen.decreaseVolume () bigScreen.decreaseVolume () //display the current channel and volume of the television System.out.println("Channel:bigScreen.getChannel() + Volume bigScreen.getVolume ()) System.out.println) //for a blank line //HERE IS WHERE YOU DO TASK #5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

Understand how arbitrators are credentialed and selected

Answered: 1 week ago

Question

How was your life influenced by those events?

Answered: 1 week ago

Question

Which of these influenced your life most dramatically?

Answered: 1 week ago