Question: apse Lesson 3 B Lab 1 - NAME - Data File Input Java Module - Lesson 3 B - Lab 1 - Name Write a
apse
Lesson Lab NAME Data File Input
Java Module Lesson B Lab Name
Write a program to input from a data file your first name, middle initial, and last name into three separate variables called first String middlechar and lastString Output your name three different ways as shown below. Hint: The String.charAt command can also be used in output statements to show the first letter of a word. Label the Input and Output sections with comment lines and be sure to elose the input object.
Data File Input: abB inUsc your own name
John
B
Owen
Expected Output
John Owen
Owen, John
JBO
John B Owen
Owen, John B
JBO
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
