Answered You can hire a professional tutor to get the answer.

QUESTION

Hands on Activity 3-1 The manager of an electronics appliance store has asked you to develop a class to help in tracking inventory for TVs. Variables...

Hands on Activity 3-1 The manager of an electronics appliance store has asked you to develop a class to help in tracking inventory for TVs. Variables include manufacturer,screen diagonal size (in inches), and retail price (in dollars and cents). Methods include a setPrice() method with a parameter for the new price and a displayInfo() method that displays the three variables' values in sentences. There's also a constructor method with three parameters for the three variables. write a class definition save file in notepad as TelevisionClass.txt. Activity 3-2 The store manager from hands on activity 3-1 likes your class definition and wants you to test your logic by writing a program that creates a Television object with Sony as the manufacturer,52 as the screen size,and $1299.00 as the price.Your program should call the displayInfo() method to display information about the television,change the price to $999.00 by using the setPrice() method,and then call the displayInfo() method again. Writea module that creates an object from the Television class definition. Open file TelevisionClass.txt that you created in activity 3-1 and save in notepad as TelevisionClass.2txt. In case the manager likes your model enough to ask you to try it in a working environment,you decide to test a scaled using the file from hands on activity 3-2 to write a javasript program that includes a constructor method in the <head> section for the Television class(no other methods). In the <body> 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. Principles of Program Design Problem Solving with JavaScript by Paul Addison java programming need on notepad then execute output

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question