Testing the functionality and correctness of the methods

Assignment Help JAVA Programming
Reference no: EM131587221

Testing Help
(for main)

The main method is the controller which "runs the whole show", including testing the functionality and correctness of the various methods (in both classes). So it needs to do the FOLLOWING, IN THIS ORDER:

- fillarrayofTVs from data in the FILE (where the parameterized constructor method, rather than individual setter methods, stores the data)
- REPEATEDLY ask user if they want to add another TV (until they indicate no) - if they say yes, call addNewTelevision method which:
o reads 5 values from user (after individual prompts) and converts them appropriately
o creates ANOTHER object (element) inarrayofTVsANDfills its instance variables with those 5 data values (using the parameterized constructor method)
o HERE'S TEST DATA for RUNNING THE PROGRAM: You AS USER do:
 say yes - enter this data when prompted: Acer 80 FALSE 0 0
 say yes - enter this data when prompted: Vizio70 FALSE 0 0
 say no
- sort
- set channel to 3 for TVs [0] and [1]
- turn power switch for TVs [2] and [3] and [4]
- turn power switch again for TV [3]
- turn power switch again for TV [3]
- turn UP volume for TVs [9] and [3]
- turn UP volume for TV [9]
- turn UP volume for TV [9]
- turn UP volume for TV [9]
- turn UP volume for TV [9]
- turn DOWN volume for TV [9]
- turn DOWN volume for TV [9]
- set channel to 222 for TVs [10] and [11]
- turn power switch for TVs [10] and [11]
- search for "Vizio"
- search for "Google"
- use the 4 getters so you can print the following data nicely to the Console for TV [9]
- printToFile

Attachment:- A7TelevisionBrands.zip

Reference no: EM131587221

Questions Cloud

What is the face value of the note : A company acquired land with a Fair Market Value of $220,000 on 1/1/14, What is the face value of the note
Find the distance between two vertices x and y of a graph : Prove that if A ? B, then B¯ ? A¯. Do this once using Venn diagrams and once using element notation.
Develop the section on prohibited use of your companys : Develop the section on Prohibited Use of your company's information system (IS) in the Information Security Plan.
What is the stock expected value one year from now : What is the stock's expected value one year from now?
Testing the functionality and correctness of the methods : The main method is the controller which "runs the whole show", including testing the functionality and correctness of the various methods (in both classes)
What policies and practices does organization have in place : What policies, programs, and practices does the organization have in place to promote employee training and development?
Distributed-cloud computing : Consider two cloud service systems: Google File System and Amazon S3. Explain how they achieve their design goals to secure data integrity.
Prepare the journal entries to record the issuance : Required: Prepare the journal entries to record the issuance of the bonds and the first two interest payments
Write an essay outlining the justifications for suicide bomb : Write an essay outlining the justifications for suicide bombing as discussed by Mr. Hassan. In addition find an example of an actual suicide terrorism incident.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd