Q. Which of the following statements is correct about constructors? (Solved)
1. If we provide a one-argument constructor then the compiler still provides a zeroargument constructor.
2. Overloaded constructors have the same name as the class name
3. Overloaded constructors cannot use optional arguments.
4. If we do not provide a constructor, then the compiler provides a zero-argument constructor.
- d. If we do not provide a constructor, then the compiler provides a zero-argument constructor.