faint, unreachable statement in java# Java - 爪哇娇娃
w*t
1 楼
if I put
return;
in the middle, it returns an 'error', telling me there are
unreachable stuff after that...
if I put
if (true)
return;
then it doesnot complain a thing.
shouldnot the first one be a warning instead of error?
return;
in the middle, it returns an 'error', telling me there are
unreachable stuff after that...
if I put
if (true)
return;
then it doesnot complain a thing.
shouldnot the first one be a warning instead of error?