to find out whether a character is of Single byte or Double bytes

hi,is there any built-in class to find whether a character is a single byte or double byte. is there any method to do so? If possible can someone provide a sample code snippet to do a check for single byte and double byte characters.thanx in advance.....
[275 byte] By [andylikesjavaa] at [2007-11-26 14:51:23]
# 1
If you are asking what size the char primitive is, it's 16 bits.If you want to know the numerical value of a char, you can cast it to an int and compare it to 255 to see if it fits in 1 byte.
hunter9000a at 2007-7-8 8:39:34 > top of Java-index,Java Essentials,Java Programming...
# 2
eh? read this http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html
georgemca at 2007-7-8 8:39:34 > top of Java-index,Java Essentials,Java Programming...