Return | Method | Summary |
---|---|---|
static int | getType(char ch) | Returns a value indicating a character's general category. |
public class Main{
public static void main(String[] argv){
System.out.println(Character.getType('a'));
}
}
The output:
2
java2s.com | Contact Us | Privacy Policy |
Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
All other trademarks are property of their respective owners. |