为什么我这一段运行结果是83,而不是93呢?
class MInner {
int score = 83;
public int Score() {
return score + 10;
}
@Override
public String toString() {
return "MInner [score=" + score + "]";
}
}
class MInner {
int score = 83;
public int Score() {
return score + 10;
}
@Override
public String toString() {
return "MInner [score=" + score + "]";
}
}
2018-02-27
举报