Question: Write a Java application that initializes an array of Strings with the following strings: Hot Peppers Onions Milk Eggs Rice The program must then use
Write a Java application that initializes an array of Strings with the following strings:
"Hot Peppers" "Onions" "Milk" "Eggs" "Rice"
The program must then use a loop to get the first character of each string in the array and make a new word with those letters. The program finally prints the new word. (You must create two classes).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
