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
What would be the behaviour if one parameterized constructor is explicitly defined?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What would be the behaviour if one parameterized constructor is explicitly defined?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!