Computer Science, asked by amitrajputkataria, 7 months ago

When may a constructor be called without specifying arguments?​

Answers

Answered by AKM33
7

Answer:

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.

Similar questions