Hacker News new | ask | show | jobs
by rbadaro 3525 days ago
In Java the default value for a String (or any object) is null, not an empty string.
1 comments

Did you not read my whole comment? Please read the whole thing before replying.
Read the whole comment. Still don't see nothing that invalidates my answer to "Can you name one language that has strings that initialise to anything but a valid object containing an empty string?".
You specifically mentioned Java, and I specifically mentioned reference-based languages, with Java being the most obvious example.