Find length of each string in string list without using for loop in java. String[]text ={"hello", "world", "API"};

Find length of each string in string list without using for loop in java.

String[]text ={"hello", "world", "API"};

From the BUET MSC (CSE) 2018 – Written exam, question 6 of 15.

More from this paper