3 ms·
Yeah, I was a little surprised too - I think because there were two constructors the compiler couldn't be certain whether an instance of the class did or didn't
by karagenit 5y ago
Yeah, I was a little surprised too - I think because there were two constructors the compiler couldn't be certain whether an instance of the class did or didn't have the field initialized?
- selcuka 5y agoNot sure as we don't see the actual implementations, but it should be unambiguous for the compiler given the method signatures are different.