BigInteger Class ◎ Define - JAVA의 64bit 정수 타입인 long 으로 표현할 수 있는 범위는 약 922경까지의 숫자이다. 만약 이보다 더 큰 숫자가 필요한 경우 사용 되는 것이 BigInteger Class이며 String Class와 마찬가지로 불변객체(Immutable)이다. ◎ Field, Constructor, Method 정보 ◎ Explanation 사용 방법은 BigDecimal Class와 거의 동일하다.
BigDecimal Class ◎ Define - BigDecimal Class는 무한한 크기의 부동소수점 숫자를 보다 정확하게 다루기 위한 Class이다. ◎ Field, Constructor, Method 정보 ◎ Explanation ① 왜 float, double을 두고 BigDecimal을 사용하는 걸까? 실수를 연산할 때 float, double 타입 사용에 주의해야 한다. 123456789101112131415161718192021222324public class MainUser { public static void main(String[] args) { double num1 = 2.0; float num2 = 1.1F; System.out.println("[1. 실수의 보..
Double Class ◎ Define - Double Class는 객체형(Reference Type) 데이터 타입이고, double 변수는 기본형(Primitive Type) 데이터 타입이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.
Float Class ◎ Define - Float Class는 객체형(Reference Type) 데이터 타입이고, float 변수는 기본형(Primitive Type) 데이터 타입이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.
Long Class ◎ Define - Long Class는 객체형(Reference Type) 데이터 타입이고, long 변수는 기본형(Primitive Type) 데이터 타입이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.
Integer Class ◎ Define - Integer Class는 객체형(Reference Type) 데이터 타입이고, int 변수는 기본형(Primitive Type) 데이터 타입이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.
Byte Class ◎ Define - Byte Class는 객체형(Reference Type) 데이터 타입이고, byte 변수는 기본형(Primitive Type) 데이터 타입이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.
Short Class ◎ Define - Short Class는 객체형(Reference Type) 데이터 타입이고, short 변수는 기본형(Primitive Type) 데이터 타입이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.
Number Class ◎ Define - Number Class는 추상 클래스이며, Short, Byte, Integer, Long, Float, Double 및 BigDecimal, BigInteger Class의 Super Class이다. ◎ Wrapper Class Structure ◎ Field, Constructor, Method 정보 ◎ Explanation ① Wrapper Class, Primitive Type, Reference Type은 http://minca.tistory.com/8 이곳을 참조하자.