摘要:
// a包 public class Student{ public void eat(){ System.out.println("吃饭"); super.action(); } private void exam(){ System.out.println("学生在考试"); } protect 阅读全文
摘要:
// 父类 1包中 public class Computer { private String name = "计算机"; public String getName() { return name; } public void setName(String name) { this.name = 阅读全文