public class Test5F extends Object
Constructor and Description |
---|
Test5F() |
Modifier and Type | Method and Description |
---|---|
static int |
numberOfAs(String word)
Returns the number of a's in the given string.
|
static boolean |
sameLength(List<String> sentence)
Tests whether all strings of the given list have the same
length.
|
public static int numberOfAs(String word)
word
- a string