📄 multiplyloop1.java
字号:
import javax.swing.JOptionPane;class MultiplyLoop1{ public static void main(String argv[]) { String out = ""; loop: for(int row=1;row<=5;row++) { out+="\n"; for(int column=1;column<=6;column++) { if(column>row) continue loop; out+="* "; } } JOptionPane.showMessageDialog(null,out,"Test multiply loop 1",JOptionPane.INFORMATION_MESSAGE); System.exit(0); int b = abs(-3); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -