Java switch 語句用於從多個條件執行一個語句。它就像 if-else-if 語句一樣。 語法: switch(expression){ case value1: //code to be executed; break; ...
確定! 回上一頁