Java Program on Maxvalue Minvalue type size
Free Java courses with 37 real-time projects - Learn Java
program 1
package dataflair; public class TestVariables { public static void main(String[] args) { System.out.println("Byte Details"); System.out.println(Byte.TYPE); System.out.println(Byte.SIZE); System.out.println(Byte.MAX_VALUE); System.out.println(Byte.MIN_VALUE); System.out.println("Short Details"); System.out.println(Short.TYPE); System.out.println(Short.SIZE); System.out.println(Short.MAX_VALUE); System.out.println(Short.MIN_VALUE); System.out.println("Integer Details"); System.out.println(Integer.TYPE); System.out.println(Integer.SIZE); System.out.println(Integer.MAX_VALUE); System.out.println(Integer.MIN_VALUE); System.out.println("Long Details"); System.out.println(Long.TYPE); System.out.println(Long.SIZE); System.out.println(Long.MAX_VALUE); System.out.println(Long.MIN_VALUE); System.out.println("Float Details"); System.out.println(Float.TYPE); System.out.println(Float.SIZE); System.out.println(Float.MAX_VALUE); System.out.println(Float.MIN_VALUE); System.out.println("Double Details"); System.out.println(Double.TYPE); System.out.println(Double.SIZE); System.out.println(Double.MAX_VALUE); System.out.println(Double.MIN_VALUE); System.out.println("Character Details"); System.out.println(Character.TYPE); System.out.println(Character.SIZE); System.out.println(Character.MAX_VALUE); System.out.println(Character.MIN_VALUE); System.out.println(Boolean.TYPE); } }
We work very hard to provide you quality material
Could you take 15 seconds and share your happy experience on Google