Need programming help to create a main class to UNIT TEST 3 subclasses.
Anonymous

Question Description

Create a class that has a main() method. This class will be your virtual world application that will test the MyClone, ShoutBox, and class you decided to create in Module Seven. 

Here is the code for all 3 of my classes, but I'm not sure how Unit Test these classes with a main class method. The code is below.

Homework (MyCloneScreenshots and CD) 7-2.docx 

Homework (ShoutBoxWMethods) 8-2.docx 

Homework (TelguardClassScreenshots and CD) 7-2.0.docx 

Unformatted Attachment Preview

HERE IS SOME CODE FOR SECOND CLASS BELOW! package telguard; /** * * @author philip.johnson1 */ public class Telguard { private String TG1; private String TG4; private String TG7; public static void main(String[] args) { //Creates a new object called radio1 from the MyClone class. Telguard radio1 = new Telguard (); //Creates a new object called radio4 from the MyClone class. Telguard radio4 = new Telguard (); //Creates a new object called radio7 from the MyClone class. Telguard radio7 = new Telguard (); } /*Creates a MyClone constructor that returns a null value if the TG1, TG4, or TG7 functions are left blank. */ public Telguard () { this.TG1 = null; this.TG4 = null; this.TG7 = null; } } HERE IS SOME CODE FOR SECOND CLASS BELOW! package telguard; /** * * @author philip.johnson1 */ public class Telguard { private String TG1; private String TG4; private String TG7; public static void main(String[] args) { //Creates a new object called radio1 from the MyClone class. Telguard radio1 = new Telguard (); //Creates a new object called radio4 from the MyClone class. Telguard radio4 = new Telguard (); //Creates a new object called radio7 from the MyClone class. Telguard radio7 = new Telguard (); } /*Creates a MyClone constructor that returns a null value if the TG1, TG4, or TG7 functions are left blank. */ public Telguard () { this.TG1 = null; this.TG4 = null; this.TG7 = null; } } ...
Purchase answer to see full attachment

Final Answer

DrKarim (565)
Duke University

Anonymous
I was on a very tight deadline but thanks to Studypool I was able to deliver my assignment on time.

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
I did not know how to approach this question, Studypool helped me a lot.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors