What would be the behaviour if one parameterized constructor is explicitly defined?
Posted: Wed Jul 13, 2022 7:46 pm
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
b) Compilation succeeds
c) Runtime error
d) Compilation succeeds but at the time of creating object using default constructor, it throws compilation error