How do you check how many letters are in a Java string?
How do you check what letter is in a certain position in the string (i.e, the second letter of the string)?>
1) To answer your question:
String s="Java"; System.out.println(s.length());