Could anyone explain why the following code gives complile time error.
The explanation says that as the switch statement is unreachable , it gives compile time error . I dont understand that if the statements are unreachable why it is giving compile time error. Am i missing something here???
Thanks in advance