Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 name course code grade
computer programing CS140 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 awardedStep 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