提問者採納: 關於 java中 switch使用的一些說明 switch(表達式) { case 常量表達式1:語句1; .... case 常量表達式2:語句2; ...
zhidao.baidu.com