Write a method called maxLength that takes an ArrayList of String s as a parameter and that

Question:

Write a method called maxLength that takes an ArrayList of String s as a parameter and that returns the length of the longest String in the list. If your method is passed an empty ArrayList, it should return 0.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: