how to display first letter, then last, then 2nd letter, then 2nd last in java code example Example: java get first char char fourth = "Banana".charAt(3);