[Logo]
Forums Register Login
please clear my doubt
why am i getting compile time error saying, unreachable statement in line number //1
please explain.

That's because there will always be an exception thrown before it and therefor the return statement will never be reached.
Just remove the return statement
Control will never go at .
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 731 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 21, 2018 11:43:23.