Why may a constracter we called whitout specifying argument
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.
Answered by
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