Question: Write a complete Java program that prints out the following information: 1. Declare a String object and a variable to store your first name
Write a complete Java program that prints out the following information: 1. Declare a String object and a variable to store your first name and ID. 2. Display your name and student ID in two separate lines using one println() statement. 3. Replace your name with your father's name using the assignment operator and print the result. 4. Display the course name, course code, and your grade in a tabular format. (e.g., course code grade Note: course name computer programing The class name of your Java program must be your first name. Your answer should have the code as text as well as the screenshot of the program output (using your own name and student ID) as a part of your answer. Otherwise, zero marks will be awarded. A typical run of the program Compile Messages CRASP Messages Run 1/0 Interactions End Clear Help Seve First Abdalla student 20123456 Last name All course ne object oriented course code 17212 CS140 S operation compl A ). Write a complete Java program that prints out the following information: 1. Declare a String object and a variable to store your first name and ID. 2. Display your name and student ID in two separate lines using one println() statement. 3. Replace your name with your father's name using the assignment operator and print the result. 4. Display the course name, course code, and your grade in a tabular format. (e.g., course code grade Note: course name computer programing The class name of your Java program must be your first name. Your answer should have the code as text as well as the screenshot of the program output (using your own name and student ID) as a part of your answer. Otherwise, zero marks will be awarded. A typical run of the program Compile Messages CRASP Messages Run 1/0 Interactions End Clear Help Seve First Abdalla student 20123456 Last name All course ne object oriented course code 17212 CS140 S operation compl A ).
Step by Step Solution
There are 3 Steps involved in it
Below is a simple Java program that fulfills the requirements youve mentioned Ive named the class as ... View full answer
Get step-by-step solutions from verified subject matter experts
