摘要:
示例public class Fruit{ public String toString() { return "Fruit toString."; } public static void main(String args[]) { ... 阅读全文
摘要:
public class ExplorationJDKSource { /** * @param args */ public static void main(String[] args) { System.out.println(new A()); ... 阅读全文
摘要:
示例程序 1 public final class Address 2 { 3 private final String detail; 4 private final String postCode; 5 6 //在构造方法里初始化两个实例属性 7 public ... 阅读全文