摘要:
示例public class Fruit{ public String toString() { return "Fruit toString."; } public static void main(String args[]) { ... 阅读全文
posted @ 2015-11-05 12:27
卫平公
阅读(142)
评论(0)
推荐(0)
摘要:
public class ExplorationJDKSource { /** * @param args */ public static void main(String[] args) { System.out.println(new A()); ... 阅读全文
posted @ 2015-11-05 12:24
卫平公
阅读(142)
评论(0)
推荐(0)
摘要:
示例程序 1 public final class Address 2 { 3 private final String detail; 4 private final String postCode; 5 6 //在构造方法里初始化两个实例属性 7 public ... 阅读全文
posted @ 2015-11-05 11:23
卫平公
阅读(315)
评论(0)
推荐(0)
浙公网安备 33010602011771号