當 switch 表達式是枚舉類型時,所有 case 標籤必須是同一枚舉類型的枚舉常量。 enum Direction { East, South, West, North } public class Main { public static void ...
確定! 回上一頁