在SmartIntHolder类中重新实现对象类的toString()方法
/*N o w J a v a . c o m*/ class MyClass { private int value; public MyClass(int value) { this.value = value; } public void setValue(int value) { this.value = value; } public int getValue() { return value; } /* 来自 *时代Java公众号*/ // Re-implement toString() method of the Object class public String toString() {