1个回答
展开全部
public class A {
private String C,D,E,F,G;
public String getC() {
return C;
}
public void setC(String c) {
C = c;
}
public String getD() {
return D;
}
public void setD(String d) {
D = d;
}
public String getE() {
return E;
}
public void setE(String e) {
E = e;
}
public String getF() {
return F;
}
public void setF(String f) {
F = f;
}
public String getG() {
return G;
}
public void setG(String g) {
G = g;
}
}
public class SubA extends A{
private String M,Q;
public String getM() {
return M;
}
public void setM(String m) {
M = m;
}
public String getQ() {
return Q;
}
public void setQ(String q) {
Q = q;
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询