Question Solved: Write a method that accepts an array of Strings as a parameter

$30.00

Category:

Description

Question Solved: Write a method that accepts an array of Strings as a parameter

Write a method that accepts an array of Strings as a parameter. The method should return the String of longest length in the array. If there are more than one string of the same length that turn out to be the longest, you can return any of them. However it may be easiest to return the most recent or the first of the same length strings.


error: Content is protected !!