number of different characters in java code example
Example: java get how many letters in a string
String str = "a string";
int length = str.length( ); // length == 8
String str = "a string";
int length = str.length( ); // length == 8