摘要:
1 public class Test { 2 public static void main(String[] args) { 3 final int a = 11; 4 int b = 111; 5 a = 123;//The final local variable a cannot be a 阅读全文
摘要:
1 public class Dog implements Serializable { 2 3 private static final long serialVersionUID = 2239821175446189806L; 4 private String kind; 5 private S 阅读全文
摘要:
1 public class Person implements Serializable { 2 3 // 构造器初始化 4 public Person() { 5 name = "父类构造器初始化10。。。"; 6 System.out.println(this.name); 7 } 8 9 / 阅读全文