When may a constructor be called without specifying arguments?
Answers
Answered by
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