write the difference between no-argument constructor and default constructor?
Answers
Answered by
0
Answer:
There are two type of constructor in Java: No-argument constructor: A constructor that has no parameter is known as default constructor. If we don't define a constructor in a class, then compiler creates default constructor(with no arguments) for the class.
Explanation:
if answer is correct plz make me Brainlist...
Similar questions