English, asked by sanjayvk7872, 7 months ago

Why may a constracter we called whitout specifying argument

Answers

Answered by Anonymous
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.

Answered by emambaig786
5

Question:

Why may a constracter we called whitout specifying argument?

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