Write static method method called longest to pass arraylist


Problem:

Question- Write a static method method called longest, which is passed an ArrayList of strings, and which returns the length of the longest string in the array, an int. (Of course several may have the longest value). You MUST use a for-each loop in your solution.

PLease describe the code of method called longest, which is passed an ArrayList of strings.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write static method method called longest to pass arraylist
Reference No:- TGS0893727

Expected delivery within 24 Hours