1.
0-Arg Constructor:-
If we declare any constructor without parameters then that constructor is
called as 0-Arg constructor.
Note:-
All default constructor are 0-arg constructors, but, all
0-args constructors are not default constructers, some 0-args constructor which
are provided compiler are called as default constructor and some other 0-arg
constructor provided by the developers, these constructors, are called as user
defined constructors.
No comments:
Post a Comment