2015-10-24 · 知道合伙人金融证券行家
关注
展开全部
package test;
public class Test {
private String name;
private int score;
private boolean sex;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public boolean isSex() {
return sex;
}
public void setSex(boolean sex) {
this.sex = sex;
}
}
public class Test {
private String name;
private int score;
private boolean sex;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public boolean isSex() {
return sex;
}
public void setSex(boolean sex) {
this.sex = sex;
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
package test;
public class Test {
private String name;
private int score;
private boolean sex;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public boolean isSex() {
return sex;
}
public void setSex(boolean sex) {
this.sex = sex;
}
}
public class Test {
private String name;
private int score;
private boolean sex;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getScore() {
return score;
}
public void setScore(int score) {
this.score = score;
}
public boolean isSex() {
return sex;
}
public void setSex(boolean sex) {
this.sex = sex;
}
}
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
public class 楼主是猪{
private String 猪;
public String get猪() {
return 猪;
}
public void set猪(String 猪) {
this.猪 = 猪;
}
}
private String 猪;
public String get猪() {
return 猪;
}
public void set猪(String 猪) {
this.猪 = 猪;
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
请注意编码的时候带脏字是不好的,建议把“猪”更改为pigger
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询