import javax.swing.JOptionPane;
public class ContinueLabel {
public static void main ( String args[] )
{
String output = "";
nextRow:
for ( int row = 1; row <= 5; row++ ) {
output += "\n";
for ( int column = 1; column <= 10; column++ ) {
if ( column > row )
continue nextRow;
output += "* ";
}
}
JOptionPane.showMessageDialog (
null, output, "Testando Continue Rotulado",
JOptionPane.INFORMATION_MESSAGE );
System.exit ( 0 );
}
}
Por que, que a variável "row" não é zerada, e a variável "column" é?