Can constructor return a null object?

The code is dead in any version of Java. It’s not possible for a constructor to return null, and even if an exception would be thrown from the constructor, the next line won’t be called.

Leave a Comment