1 Answer ... In Java, you can use an enum in a switch statement by specifying the enum values as the cases. ... In this example, the day variable is ...
確定! 回上一頁