📄 continuelabeltest.java
字号:
import javax.swing.JOptionPane;
public class ContinueLabelTest
{
public static void main(String args[])
{
String output="";
rownext:
for(int row=1;row<+5;row++)
{
output+="\n";
for(int column=1;column<=10;column++)
{
if (column>2*row-1)
continue rownext;
output+="*";
}
}
JOptionPane.showMessageDialog(null,output,"testing continue with a label",
JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -