Question: Write a Java program to print 'Hello' on screen and then print your name on a separate line. A. Create a new Class called Lab6-1
Write a Java program to print 'Hello' on screen and then print your name on a separate line. A. Create a new Class called "Lab6-1" B. Declare a variable called name. C. Initialize the variable name with your name. D. Print Hello and your name on separate lines.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
