【简答题】请看如下代码 class Person { private int a; public int change(int m) {return m;} } public class Teacher extends Person{ public int b; public static void main(String arg[]){ Person p = new Person(); Teacher t...
【简答题】请看如下代码: class Person { private int a; public int change(int m){ return m; } } public class Teacher extends Person{ public int b; public static void main(String arg[]){ Person p = new Person(); Teacher...
【简答题】请看如下代码: class Person { private int a; public int change(int m){ return m; } } public class Teacher extends Person{ public int b; public static void main(String arg[]){ Person p = new Person(); Teacher...