DEV Community

loading...

Discussion on: Constructor Chaining In Java with Examples

Collapse
gregorys100 profile image
Gregory Sequeira

So one major benefit of this method is that you can avoid null values when accessing that object.

Good stuff!