So the reason the constructor doesn't return value is because it's not called directly by your code, it's called by the memory allocation and object initialization code in the runtime.
Liked By
Write Answer
Why constructor has no return value?
Join MindStick Community
You have need login or register for voting of answers or question.
Om ji mishra
14-Oct-2019So the reason the constructor doesn't return value is because it's not called directly by your code, it's called by the memory allocation and object initialization code in the runtime.