摘要: 类的初始化. 先理解 类初始化阶段 的含义: 该阶段负责为类变量赋予正确的初始值, 是一个类或接口被首次使用前的最后一项工作。 类的初始化时机: 即在java代码中首次主动使用的时候, 包含以下情形: - (首次)创建某个类的新实例时--new, 反射, 克隆 或 反序列化; - (首次)调用某个类 阅读全文
posted @ 2020-09-28 15:49 西伯利亚虎 阅读(733) 评论(0) 推荐(0) 编辑

Permanence, perseverance and persistence in spite of all obstacles, discouragements and impossibilities: It is this, that in all things distinguishes the strong soul from the weak.