<Apti
Code
/>
Back
Question 652: Which of the following statements is correct about constructors?
tcs
wipro
infosys
general
aptitude
constructors
No answer description is available.Let's discuss.
If we provide a one-argument constructor then the compiler still provides a zero-argument constructor.
Static constructors can use optional arguments.
Overloaded constructors cannot use optional arguments.
If we do not provide a constructor, then the compiler provides a zero-argument constructor.
Submit Answer
Show Answer
Previous
Next