随笔分类 -  模式编程

摘要: 阅读全文
posted @ 2020-06-03 15:20 2eggs 阅读(100) 评论(0) 推荐(0)
摘要:package lesson04; /** * 笔记题:手写一个单例 * @author gyf * */ public class Demo01 { public static void main(String[] args) { /* 单例设计模式 (掌握) 单例设计模式:保证类在内存中只有一个 阅读全文
posted @ 2020-03-27 09:53 2eggs 阅读(91) 评论(2) 推荐(0)
摘要:package lesson06; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWrite 阅读全文
posted @ 2020-03-23 14:42 2eggs 阅读(138) 评论(1) 推荐(0)