public class TestaLaco2{
public static void main(String[] args){
for (int linha = 0; linha < 10; linha++) {
for(int coluna = 0; coluna < 10; coluna++) {
if (coluna > linha) {
break;
}
System.out.print("*");
}
System.out.println();
}
}
}
```
usei esse codigo deu esse erro :
Error: Main method not found in class TestaLaco2, please define the main method as:
public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
v