Forums Register Login

please clear my doubt

+Pie Number of slices to send: Send
why am i getting compile time error saying, unreachable statement in line number //1
please explain.

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Control will never go at .
And then the flying monkeys attacked. My only defense was this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 894 times.
Similar Threads
Malformed URL Exception
handle Exceptions from DB
shows compile error why??
Passing a Variable value from one Method to another Method
Complie_time_error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:55:16.