Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need in java with execute Te sent to methods in ovent driven prog ams? Hands-On Activities Hands-On Activity 3-1 wanager of an electronics appliance store

image text in transcribed

need in java with execute

Te sent to methods in ovent driven prog ams? Hands-On Activities Hands-On Activity 3-1 wanager of an electronics appliance store has asked you to a class to help in tracking inventory for TVs. Variable tollars and cents). Methods include a setpriceO) method with a s the three variables values in sentences. There's also a constr manufacturer, screen diagonal size (in inches), and retail price rameter for the new price and a displayInfoO method that dis method with three parameters for the three variables sing pseudocode, write a class definition. Save your pseudocode n n Notepad as TelevisionClass.txt. Hands-On Activity 3-2 The store manager from Hands-On Activity 3-1 likes your class def nition and wants you to test your logic by writing a program that creates a Television object with Sony as the manufacturer, 52 screen as the size, and $1299.00 as the price. Your program should call the displayInfoO method to display information about the television. change the price to $999.00 by using the setPriceO method, a nd then call the displayInfoO method again. pseudocode, write a module that creates an object from Usg the Television class definition. Open the pseudocode file TelevisionClass.txt you created in Hands-On Activity 3-1, and save it in Notepad as TelevisionClass-2.txt in Hands-On Activity 3-3 In case the manager likes your model enough to ask you to try it in a working environment, you decide to test a scaled-down version, using th program that includes a constructor method in the section for e pseudocode from Hands-On Activity 3-2 to write a JavaScript the Television class (no other methods). In the section, the program should create a new Television object called myTV by calling the constructor with the values you used in Hands-On Activity 3-2, and then display the values of the variables and thank the user

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

Students also viewed these Databases questions