Question: A string variable fullName represents a full name such as Doe, John. Write a Java expression to give a string of first initial and last
A string variable fullName represents a full name such as Doe, John. Write a Java expression to give a string of first initial and last name, e.g., J. Doe.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
