Question: 1. Write an application that prints the following two lines: 1 2 3 4 1 2 3 4 5 Marks The first line is

1. Write an application that prints the following two lines: 1 2 3 4 1 2 3 4 5 Marks The first line is created using four Sysout statements, and the second line is created using a single Sysout statement. 2. Write an application program that prints a square of asterisks (*) on the screen. The square is 9 lines high. 5 Marks ********* * * * * * * * * * * * * *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
