Page 1 of 1

What would be the behaviour if one parameterized constructor is explicitly defined?

Posted: Wed Jul 13, 2022 7:46 pm
by answerhappygod
a) Compilation error
b) Compilation succeeds
c) Runtime error
d) Compilation succeeds but at the time of creating object using default constructor, it throws compilation error