• 设计模式单例模式


    /**
     * @version 1.0
     * @author Rollen-Holt 
     * 设计模式之 ---单例模式
     * */
    
    class hello{
    	private hello(){
    		System.out.print("hello");
    	}
    	public static hello getHello(){
    		return new hello();
    	}
    	public static void main(String[] a0){
    		hello.getHello();
    	}
    }
    

      

  • 相关阅读:
    人月神话读后感2
    大三学习进度13
    大三学习进度16
    大三学习进度14
    大三学习进度11
    大三学习进度15
    人月神话读后感3
    大三学习进度10
    Linux设备树
    clk_enable
  • 原文地址:https://www.cnblogs.com/rollenholt/p/2144858.html
Copyright © 2020-2023  润新知