Question: please read the instructions and Write a Java program that does the following: 1) At the beginning of your program, include comments that say: MyTest1
please read the instructions and Write a Java program that does the following: 1) At the beginning of your program, include comments that say: MyTest1 implements an application that displays four lines containing 'Waves and Sailboats'. 2) The Class name should be Mytest1 3) Use the following ASCII characters: ASCII 9, ASCII 10, ASCII 40, ASCII 41, ASCII 47, ASCII 92, ASCII 95, ASCII 126 4) Write a for loop that repeats twice and whose body consists of one print statement that outputs the lines in the image below. Use the repeat() method where appropriate.
----jGRASP exec: java Mytest1 2222 ~_/)~~~~~_/)~~~~~~ ~(\_~ ~~~~~~~~ (\_~ 2222 22222 ~_/)~~~~~ _/)~~~~~~ 22222 ~~~~~~(\_~~~~~~~~ ( \_~ End of execution! ---jGRASP: operation complete.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
