By default, printing an Object results in a class name and hash code. One can change this result by overriding the toString() method inherited by all children of Object.
Object
toString()
1.4m articles
1.4m replys
5 comments
57.0k users