What is the difference between this two codes?
class SomeClass { SomeType val = new SomeType(); }
and
<
The first version allows you to define multiple constructors without having to remember to put the = new SomeType() in each one.
= new SomeType()