Which of the following statements is correct about constructors?
1.If we provide a one-argument constructor then the compiler still provides a zero-argument constructor.
2.Static constructors can use optional arguments.
3.Overloaded constructors cannot use optional arguments.
4.If we do not provide a constructor, then the compiler provides a zero-argument constructor.
Posted Date:-2021-02-24 11:05:30