လမ်ႇလွင်ႈယူႇၼင်ႇၵဝ်ႇ လူဝ်ႇလႆႈႁူႉဝႆႉ တီႈလႂ် လူဝ်ႇၸႂ်ႉဢၼ်လႂ်ၼႆ
Java code Example
public class lesson08 { public static void main(String []args){ char c ='A'; System.out.println(c); byte b = 122; System.out.println(Byte.SIZE); System.out.println(Byte.BYTES); System.out.println(Byte.MAX_VALUE); System.out.println(Byte.MAX_VALUE); short sh = 12223; System.out.println(Short.SIZE); System.out.println(Short.BYTES); System.out.println(Short.MAX_VALUE); System.out.println(Short.MAX_VALUE); int i = 1222323232; System.out.println(Integer.SIZE); System.out.println(Integer.BYTES); System.out.println(Integer.MAX_VALUE); System.out.println(Integer.MAX_VALUE); long l = 12223232307872l; System.out.println(Long.SIZE); System.out.println(Long.BYTES); System.out.println(Long.MAX_VALUE); System.out.println(Long.MAX_VALUE); float f = 1222322323232307872f; System.out.println(Float.SIZE); System.out.println(Float.BYTES); System.out.println(Float.MAX_VALUE); System.out.println(Float.MAX_VALUE); double d = 12223223232323323232323232323232307872f; System.out.println(Double.SIZE); System.out.println(Double.BYTES); System.out.println(Double.MAX_VALUE); System.out.println(Double.MAX_VALUE); } }
No comments:
Post a Comment