摘要: 1 package com.array.jun; 2 3 /** 4 * 5 * @author pengjun 6 * @version 1.0 7 */ 8 interface A{ 9 public void x(); 10 public String y(); 11 } 12 13 interface A2{ 14 public v... 阅读全文
posted @ 2019-02-25 21:16 稀依心 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: 1 package com.array.jun; 2 3 public class Singletion { 4 5 private static String test = "This is a singletion!"; 6 7 private Singletion(){} 8 9 public static void Tes... 阅读全文
posted @ 2019-02-25 20:15 稀依心 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 案例: 阅读全文
posted @ 2019-02-25 11:50 稀依心 阅读(470) 评论(0) 推荐(0) 编辑