getting the first character of a string in java that looks like python code example
Example: get first character of string java
var string = "freeCodecamp";
string.charAt(0); // Returns "f"
var string = "freeCodecamp";
string.charAt(0); // Returns "f"