Skip to content

Instantly share code, notes, and snippets.

@hoangbits
Created September 29, 2022 04:12
Show Gist options
  • Save hoangbits/2a441941814bec59c51eaf4b7356f12f to your computer and use it in GitHub Desktop.
Save hoangbits/2a441941814bec59c51eaf4b7356f12f to your computer and use it in GitHub Desktop.
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
class Main {
public static void main(String[] args) {
String str = "gEeks";
System.out.println(str.charAt(0));
System.out.println(str.charAt(1));
System.out.println(str.charAt(2));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment