Question
Write a complete Java program that prints out the following information: Declare String object and a variable to store your first name and ID. Display
Write a complete Java program that prints out the following information:
Declare String object and a variable to store your first name and ID.
Display your name and student ID in two separate lines using one println() statement.
Replace your name with your father's name using the assignment operator and print the result.
Display course name, course code and your grade in a tabular format.
(e.g., course name course code grade
computer programing CS230 A ).
Note:
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.
name; Zakaria
student id; 210034536
Typical run of the program;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started