fluffy0301 / jay_jiwoo

1 stars 0 forks source link

Ch02EX06 #27

Open fluffy0301 opened 2 years ago

fluffy0301 commented 2 years ago

Wrapper class : primitive class data type을 쉽게 사용할 수 있도록 JDK가 제공하는 도구. 정수형 Wrapper class : Byte ,short, Integer, long

public class Ch02EX06 {

    public static void main(String[] args) {

        System.out.println(Byte.MIN_VALUE + " ~ "+ Byte.MAX_VALUE );
        System.out.println(Short.MIN_VALUE + " ~ "+Short.MAX_VALUE );
        System.out.println(Integer.MIN_VALUE + " ~ "+Integer.MAX_VALUE );
        System.out.println(Long.MIN_VALUE + " ~ "+ Long.MAX_VALUE );

    }//main  

}//class