????????????????????????????δ???
class People {
private String name;
private int age;
private String mSex;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getmSex() {
return mSex;
}
// ???????????
public void setmSex(String mSex) {
this.mSex = mSex;
}
}
?????????????????get set???????????ε????????д???????????????set ????????????????????????????????? ????????????? aAbbb ??????????get set ?????????д???????????????????????????????????????????????д?Сд?ж?????????????д??Json??????????? ?????ν????????д?????OK??