T
Test
Sorry, some people may have asked this question before. It is really hard to
find relevant articles about this topic on the web using key words.
I know it is not recommended to use return statement in constructor. But,
1. How about a return statement without any return value? Does the execution
of the constructor stop at the return statement?
2. How does the compiler handle the return statement with a value? Does it
just give a warning?
Thanks. A. Y.
find relevant articles about this topic on the web using key words.
I know it is not recommended to use return statement in constructor. But,
1. How about a return statement without any return value? Does the execution
of the constructor stop at the return statement?
2. How does the compiler handle the return statement with a value? Does it
just give a warning?
Thanks. A. Y.