News for hackers. Stuff that matters.
Re:My last name makes me invisible to Computers (2015) by LukeShu on Friday August 18, 2017 @11:57PM (#15051577)
Sure, but .toString() can be used to change how your class stringifies, so clearly it is being called at some point (perhaps by String.valueOf()).

And indeed,

    public static String valueOf(Object obj) {
        return (obj == null) ? "null" : obj.toString();
    }
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/s...

There are no comments on this comment yet.