4.2. The Char Type

The Char data type represents characters and their value represents unsigned characters. Char includes letters, digits, and special characters.

Table below lists the range of c character alues in Java.

			package javatutorial;

			/**
			 * Example class showing the range of character type
			 * 
			 * @author f5java.com
			 */
			public class CharRange {

				public static void main(String[] args) {
					
					int minvalue = Character.MIN_VALUE;
					int maxvalue = Character.MAX_VALUE;
					
					// Printing the range of Character values
					System.out.println("Range of byte values " + minvalue + " to " + maxvalue);

				}

			}