Under this format the constructor methods are utilized to
initialize the object using the parameter argument. The
arguments are passed to the constructors and appropriate
constructor is invoked by matching the number, types and
order of the arguments specified in each method definition.
b. Default Constructors:
The default constructors are used to initialize all the variables
to a 0 value. As per the procedure in Java all variables must be
initialized when the object is initialized. This is compulsory and
it is done by use of a constructor.
attention@computerscienceexpertise.com