随笔分类 - 初级问题
摘要:https://www.cnblogs.com/ktao/p/8586966.html
阅读全文
摘要:基本类型 大小 取值范围 装箱基本类型 整型 byte 1个字节 -2^7 ~ 2^7-1 Byte short 2个字节 -2^15 ~ 2^15-1 Short int 4个字节 -2^31 ~ 2^31-1 Integer long 8个字节 -2^63 ~ 2^63-1 Long 浮点型 f
阅读全文
摘要:一、懒汉式(线程不安全) public class Singleton { private static Singleton instance; private Singleton(){} public static Singleton getInstance(){ if (null == inst
阅读全文

浙公网安备 33010602011771号