Java program to get the first letter of a string Get link Facebook X Pinterest Email Other Apps - February 27, 2017 Program import java.io .*; import java.lang .*; class test { public static void main(String[] args) { String a=”helloo”; char first=a.charAt(0); System.out.println(first ); } } Output h Read more