728x90
public class ExerciseCh2_5 {
public static void main(String[] args) {
System.out.println("Minimum integer : " + Integer.MIN_VALUE);
System.out.println("Maximum integer : " + Integer.MAX_VALUE);
System.out.println("Minimum long : " + Long.MIN_VALUE);
System.out.println("Maximum long : " + Long.MAX_VALUE);
System.out.println("Minimum float : " + Float.MIN_VALUE);
System.out.println("Maximum float : " + Float.MAX_VALUE);
System.out.println("Minimum double : " + Double.MIN_VALUE);
System.out.println("Maximum double : " + Double.MAX_VALUE);
System.out.println("Not A Number : " + Double.NaN);
}
}
반응형