Why would you want to insert a break statement there; what would you expect it to do?
A break statement makes the execution jump out of the switch (or a loop), code after the break will never be executed, which is exactly what the error message "unreachable code" means.
krishnadhar Mellacheruvu wrote:now if i give the internal switch after break keyword it gives an error i.e. Code cannot be reached.
JLS 8 14.15. The break Statement wrote:A break statement transfers control out of an enclosing statement.
A break statement with no label attempts to transfer control to the innermost enclosing switch, while, do, or for statement of the immediately enclosing method or initializer; this statement, which is called the break target, then immediately completes normally.