Question: Write a Java class named H w01prog1 to display the following message using System.out.print() command. My name is ___, and my age is ___. My
Write a Java class named Hw01prog1 to display the following message using System.out.print() command.
My name is ___, and my age is ___. My school is Virginia State University.
You should display your name as a String variable myName and your age as an int variable myAge in the blank locations, respectively. You should save your program as Hw01prog1.java.
At the top of your program place a block comment that includes your name, date, and description of your program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
