Java基础
文章平均质量分 68
徐东1983
这个作者很懒,什么都没留下…
展开
-
Java基本数据类型
基本类型大小最小值最大值包装器类型boolean Booleanchar16-bit Characterbyte8 bits-128+127Byteshort16 bits-2^15(+2^15)-1Shortint32 bits-2^31(原创 2016-02-18 20:56:30 · 161 阅读 · 0 评论 -
Java byte数据类型详解
转载地址:http://perfect5085.iteye.com/blog/1612694Java代码 public static String bytes2HexString(byte[] b) { String ret = ""; for (int i = 0; i String hex = Integer.toH转载 2016-02-18 21:52:31 · 299 阅读 · 0 评论 -
静态内部类
package innerclass;public class OuterA { public int i = 0; public static int d = 1; public void a_test(String s) { System.out.println("a_test:" + s + "_" + i); //j ++; //此处调用错误,外部类不能直接调用原创 2016-04-04 09:53:27 · 196 阅读 · 0 评论