switch(expression) { case value: //上方小括號內常數值等於此條件value,則會進來此處, ... 範例. int intScore = 5; switch(intScore) { case 5: ...
確定! 回上一頁