随记

静态内部类加载

  • 不会随着类加载而加载
  • 用到静态类时才装载,只装载一次,线程安全。
原文地址:https://www.cnblogs.com/xiaoaiying/p/14164154.html