Java 提供了 if/else 條件式,語法如下: ... switch(變數或運算式) { case 整數、字元、字串或Enum: 陳述句; break; case 整數、字元、字串或Enum: ...
確定! 回上一頁