Practice · 1 of 5
Total letters
CHALLENGE
Difficulty: beginner+25 XP
Implement int totalLetters(ArrayList<String> words): the sum of every word's length. Empty list → 0.
Press Submit to check your solution.
Back to lesson: Practice: List practice
Practice · 1 of 5
Implement int totalLetters(ArrayList<String> words): the sum of every word's length. Empty list → 0.
Back to lesson: Practice: List practice