Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.java:2: error: class main is public, should be declared in a file named main.java public class main { ^ 1 error |
package com.david.test; public class main { public static void main(String[] args) { System.out.print("Hola codeo\n"); } }