2017年3月2日
摘要: package com.m01.program.maven_1; public class Test { public static void main(String[] args) { getData(new Fx(1)); getData(new Fx("hah")); } public static void getData(Fx ... 阅读全文
posted @ 2017-03-02 00:11 夏末秋萍 阅读(92) 评论(0) 推荐(0)
摘要: 1 懒汉式 2 饱汉式 3 通过静态内部类 4 通过枚举 5 通过静态代码块 阅读全文
posted @ 2017-03-02 00:00 夏末秋萍 阅读(106) 评论(0) 推荐(0)