Loading

摘要: 单例模式 饿汉式 package com.hxh; public class Hungry { private static final Hungry HUNGRY = new Hungry(); private Hungry() { System.out.println("创建"); } publ 阅读全文
posted @ 2020-06-18 19:10 shimeath 阅读(128) 评论(0) 推荐(0)