Menu

Write a program that will use the following array String words = [“carter”, “falling” “Daniel”, “Capalinuovo” “Evacha” “Masroor”];  The program will pass the array to a method called change Words whi…

Question

Answered step-by-step

Write a program that will use the following array String words =…

Write a program that will use the following array String words = [“carter”, “falling” “Daniel”, “Capalinuovo” “Evacha” “Masroor”]; 

The program will pass the array to a method called change Words which will resave the elements to ONLY their first 3 letters. For example, words(1] will be “fal”. The main method will display the new elements

OR

Leave a Reply

Your email address will not be published. Required fields are marked *