class Person { private int a; } public class Man extends Person{ public int b; public int add(){ return a+b; } } 查看完整描述