A constructor that has no arguments or one where all the arguments have default argument values.
If you don't code a default constructor, the compiler provides one if there are no other constructors. If you are going to instantiate an array of objects of the class, the class must have a default constructor.
No comments:
Post a Comment