正在加载图片...
基本的数据类型( Primitivetype) System.out, printf(" short\t数值范围:d~d\n", Short. MAX VALUE, Short. MIN VALUE )i System.out. printf("int\t数值范围:d~号dn", Integer. MAX VALUE Integer MIN VALUE) System.out. printf("long\t数值范围:d~d\n", Long. MAX VALUE, Long. MIN VALUE) System. out. printf("byte\t数值范围:d~号d\n", Byte. MAX VALUE, Byte. MIN VALUE)i System.out. printf(" float\t数值范围:号e~号e\n", Float MAX VALUE, Float. MIN VALUE )i System. out. printf("doub1e\t数值范围:号e~器e\n", Double. MAX VALUE, Double MIN VALUE); code\ch03\ DataRange iava基本的数据类型(Primitivetype) System.out.printf("short \t数值范围:%d ~ %d\n", Short.MAX_VALUE,Short.MIN_VALUE); System.out.printf("int \t数值范围:%d ~ %d\n", Integer.MAX_VALUE, Integer.MIN_VALUE); System.out.printf("long \t数值范围:%d ~ %d\n", Long.MAX_VALUE, Long.MIN_VALUE); System.out.printf("byte \t数值范围:%d ~ %d\n", Byte.MAX_VALUE, Byte.MIN_VALUE); System.out.printf("float \t数值范围:%e ~ %e\n", Float.MAX_VALUE, Float.MIN_VALUE); System.out.printf("double \t数值范围:%e ~ %e\n", Double.MAX_VALUE, Double.MIN_VALUE); code\ch03\DataRange.java
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有