Suppose this piece of code:
假设这段代码:
public class Int {
public int value;
public Int () {
this.value = 0;
}
public Int (int value) {
this.value = value;
}
@Override
public String toString () {
return Integer.valueOf (this.value).toString ();
}
}
public