Question: in java lang. Write a method, showNames (), to display the names within the array. You will pass the String array, customerName to the method.
Write a method, showNames (), to display the names within the array. You will pass the String array, customerName to the method. The method will then use a foreach loop to display the array of names so that each name is on a separate line. End your output with a blank line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
