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