boolean类型的getter和setter有点奇怪,boolean类型的getter方法为 is
eg :
boolean finished ,
她的getter方法为
public boolean isFinished() {
return finished;
}
Mark it !
boolean类型的getter和setter有点奇怪,boolean类型的getter方法为 is
eg :
boolean finished ,
她的getter方法为
public boolean isFinished() {
return finished;
}
Mark it !