filmov
tv
Java Practice It | Exercise 11.8: maxLength | collections, lists, sets and maps, iterator

Показать описание
More practice its:
Problem:
Question:
Write a method maxLength that takes a Set of strings as a parameter and that returns the length of the longest string in the set. If your method is passed an empty set, it should return 0.
Problem:
Question:
Write a method maxLength that takes a Set of strings as a parameter and that returns the length of the longest string in the set. If your method is passed an empty set, it should return 0.