Originally posted by Ramamoorthy Periasamy:
(In this case we used final variable b which is compile time constant)then it will simply says anything after that statement are unreachable.
anything means which is inside the while block not outside it
am i right..
then the compiler must skip the while block and it needs to execute the remaining part of the program after the while block.
but why it gives compile time error?
:roll: