Question: Copy and paste the code of the class you provided in Discussion 9, then Write a test (main) program that uses that class. Explain to

Copy and paste the code of the class you provided in Discussion 9, then Write a test (main) program that uses that class. Explain to other students your program.

To clarify: in discussion 9 you only had to provide the code for a class ( for example Rectangle). In discussion 10, you will be using/calling this class which means you need to write the test program/ main program/ etc. in which you create an object of the class (for example Rectangle ) and call its different methods.

If in discussion 9 you provided the class and you already tested it through main, you don't need to do any thing extra for this discussion. Just copy and paste it again and it should be fine.

This is my discussion 9 code

 Copy and paste the code of the class you provided in

package A6; 7 import java.util.Scanner; 8 k 10 k@author mac 12 public class a7 -t 13 14 15 16 17 18 19 20 21 public static void main(String args[])

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!