how to isolate first character of string in java code example Example: java get first char char fourth = "Banana".charAt(3);