Sail E0 Webinar
Question

What are the disadvantages if use return keyword to return error codes?


Options:
A .  You have to handle all exceptional cases explicitly
B .  Your code size increases dramatically
C .  The code becomes more difficult to read
D .  All of the mentioned
Answer: Option D

As we are using return for each and every exception, It will definetly increase the code size.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :

Latest Videos

Latest Test Papers