Question: Create and run an even more sophisticated Hello Class program in your Lab 1 directory. Design and edit a file called Lab 1 P 1
Create and run an even more sophisticated Hello Class program in your Lab directory.
Design and edit a file called LabPDriver.java with the following content using your favorite editor. Make sure that the class name and the file name match!!!
For instance, if you chose the vim editor, at the prompt type in:
vi LabPDriver.java
Your program should:
ask the user to enter an integer number n
read n names provided by the user
displays the provided names followed by shouts Hello Class!!! using correct grammar and punctuation.
use the input read in to build an output string to be displayed at the end DO NOT store and reprocess the input data no additional storagecollections can be used.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
