Explain the following terms:
Constructor with default argument
33 Likes
Java specification doesn't support default arguments in methods so Constructor with default argument cannot be written in Java.
Answered By
18 Likes
Name the different types of constructors used while defining a class.
Why do we need a constructor as a class member?
Parameterised constructor
Copy constructor