摘要: 1)饿汉式单例模式 package Singleton; public class Singleton01 { public static void main(String[] args) { Singleton instance = Singleton.getInstance(); System. 阅读全文
posted @ 2021-09-19 15:18 古比 阅读(33) 评论(0) 推荐(0) 编辑