I know that's a wrong syntax, I was just showing an example.
Yes, here it will work, but if you want to initialize only some fields (poor man's keyword arguments), you can't use the default constructor.
I know that's a wrong syntax, I was just showing an example.
Yes, here it will work, but if you want to initialize only some fields (poor man's keyword arguments), you can't use the default constructor.