Ho scritto questo codice:

public boolean login(String idship){
Integer x=Integer.parseInt(idship);
switch(x){
case 11:
return true;
* break;
default:
return false;
}
return false;

}


Ottengo il seguente errore: ""Statement not reachable" alla riga *.
Perchè?

tulipan