If you do not provide a constructor for a class the


If you do not provide a constructor for a class, the compiler will generate a default constructor. If you do provide a constructor for a class, you should also provide a default constructor, because the compiler will not supply one, and uninitialized declarations of instances of that class will not be allowed.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: If you do not provide a constructor for a class the
Reference No:- TGS02584035

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)