📄 jlab0304_2a.java
字号:
class JLab0304_2A{
public static void main(String[] args){
char sym;
sym='a';
switch(sym){
case 'a':System.out.println("The symbol is an a.");
case 'b':System.out.println("The symbol is a b.");
case 'c':System.out.println("The symbol is a c.");
default: System.out.println("The symbol is not a,b or c.");
}
System.out.println("Switch is completed");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -