how to get first and last letter of every word in a array in java code example Example: java get first char char fourth = "Banana".charAt(3);