Friday, 6 September 2013

regarding ReflectionToStringBuilder.toString(this);

regarding ReflectionToStringBuilder.toString(this);

The following method is to implement toString
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
How to understand the parameter this used by toString, what does it stand
for here? Besides, why do we need to implement toString this way?

No comments:

Post a Comment