class Signal{
static final int GREEN=1;
static final int YELLOW=2;
static final int RED=3;

String getMessage(int n){
String str;
swich(n){
case 1:
str="進め";
break;
case 2:
str="止まれ";
break;
default:
str="絶対止まれ";
break;
}
return str;
}
}
これで8行目に";"がありませんってなっちゃうんですが・・・・間違ってる?