Java Character MODIFIER_LETTER
Syntax
Character.MODIFIER_LETTER has the following syntax.
public static final byte MODIFIER_LETTER
Example
In the following code shows how to use Character.MODIFIER_LETTER field.
/* ww w. j a v a 2s . c o m*/
public class Main{
public static void main(String[] args) {
for(int ch = Character.MIN_VALUE;ch<Character.MAX_VALUE;ch++){
if(Character.MODIFIER_LETTER == Character.getType(ch)){
System.out.println((char)ch);
}
}
}
}
The code above generates the following result.