why am i getting compile time error saying, unreachable statement in line number //1
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
Bhagat Singh Rawat
, Ranch Hand
Control will never go at .
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards
This thread has been viewed 692 times.
All times above are in ranch (not your local) time.
The current ranch time is
Dec 17, 2017 14:38:54.