Question: Write a Java class that outputs 5 lines as shown below. Name your class Prog 1 _ 3 A _ Lastname. Copy&Paste your code and
Write a Java class that outputs lines as shown below. Name your class ProgALastname. Copy&Paste
your code and screenshot your console output. Note: line numbers are for reference purposes only; do not
type line numbers in your program:
Your name
Your address
Your Major
Use System.out.print; statements for Your name and Your address and use
System. out println ; statements for Your Major and blank lines between each line of output. To print
a blank line, you can use, System.out.println; with nothing in the parenthesis.
Write a Java class that displays the following pattern. Name your class ProgBLastname. Screenshot your
console output.
Please note the following Rubric:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
