Learn Java Tutorial for Beginners, Part 21: toString() and the Object class

1 year ago
3

This is a tutorial on the important toString() method in Java, which allows you to create a text representation of your object. Highly useful for debugging and much used in the Swing framework for example.

Loading comments...