String zaczyna się od alfabetu java
if(string.charAt(0) == char){
System.out.println("String starts with char");
}
elcharitas
if(string.charAt(0) == char){
System.out.println("String starts with char");
}