Create a test class that tests your survey class this


Assignment Instructions

To accomplish the task of developing your Survey class from your designed UML Class Diagram, you will need to implement the following variables and methods:

· Static class variable for the respondentID
· Instance variable for the Survey title
· Two overloaded constructors
· generateRespondentID() method.

The requirements and use for each of these members are described in the Discussion Board for this phase.

Create a test class that tests your survey class. This should test all of the members added to this point in any way that you desire, as long as it is proven that they function as required.

Submit your Design Document and your zipped NetBeans project.

Questions and Instructions

1. Does this assignment really need getter and setter methods? I know I put them in my UML diagram, but not sure if I need them. If I am supposed to have them, please code them in.

2. The instructor gave us the coding in the netbeans file for the java coding. She wants us to fix it. She said she hadn't given us all the codes. She wants us to do the following:

The respondentID has to be reset to 0. You will see the code respondentID = 0.

In the TestCase file, you will see the coding that makes the system print out the respondentID 0 - 5. That code section has it do that. She wants us to tell the system to print out only 1-5.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Create a test class that tests your survey class this
Reference No:- TGS01042247

Expected delivery within 24 Hours