LMS知識社群歷程檔案Login
Position: 陳柔禎 > 未分類
face
by 陳柔禎 2019-12-03 12:19:06, Reply(0), Views(9)
package ai051322;

public class face {
private int eye;
private int nose;
private int mouth;
private int ear;
private String color;

public face() {
this.eye=0;
this.nose=0;
this.mouth=0;
this.ear=0;
this.color=null;
}
public void setEye(int eye) {
this.eye=eye;
}
public int getEye(int eye) {
return this.eye;
}
public void setNose(int nose) {
this.nose=nose;
}
public int getNose(int nose) {
return this.nose;
}
public void setMouth(int mouth) {
this.mouth=mouth;
}
public int getMouth(int mouth) {
return this.mouth;
}
public void setEar(int ear) {
this.ear=ear;
}
public int getEar(int ear) {
return this.ear;
}
public void setColor(String color) {
this.color=color;
}
public String getColor(String color) {
return this.color;
}
}
Reply