public class BuiltInDataTypesTest
{
	public static void main(String[] args)
	{
		byte bt;
		short sh;
		int i;
		long l;
		float f;
		double d;
		boolean bl;
		char ch;


		//BYTE---------------->
		bt=(byte)65; //From -128 to 127 (Java uses Signed Bytes, which is while it's not 0 to 255 as you might expect).
		             //You can convert this to normal ASCII/Unsigned by doing a Binary And with HEX value FF: int ascii=bt & 0xff;

		System.out.println("Byte: " + bt);
		//---------------->

		//SHORT---------------->
		sh=1234; //From -32768 to 32767

		System.out.println("Short: " + sh);
		//---------------->

		//INT---------------->
		i=5656246; //From -2147483648 to 2147483647

		System.out.println("Integer: " + i);
		//---------------->

		//LONG---------------->
		l=8000000000L; //From -9223372036854775808 to 9223372036854775807

		System.out.println("Long: " + l);
		//---------------->

		//FLOAT---------------->
		f=3.14F;

		System.out.println("Float: " + f);
		//---------------->

		//DOUBLE---------------->
		d=135.24542525D;

		System.out.println("Double: " + d);
		//---------------->

		//BOOLEAN---------------->
		bl=true; //TRUE OR FALSE This might be over stated but for completion for FALSE obviously use: bl=false;

		System.out.println("Boolean: " + bl);
		//---------------->

		//CHAR---------------->
		ch='R'; //From Unicode '\u0000' to Unicode '\uffff' inclusive, that is, from 0 to 65535
		        //See Guide for reference to Unicode Characters in java.

		System.out.println("Char: " + ch);
		//---------------->
	}
}
