Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
Main.java:2: error: <identifier> expected public class java{java{ ^ Main.java:4: error: illegal start of expression public static void main(String[] args) { ^ 2 errors |
||
#2 |
Error de compilación
Main.java:2: error: <identifier> expected public class java{java{ ^ Main.java:4: error: illegal start of expression public static void main(String[] args) { ^ 2 errors |
||
#3 |
Error de compilación
Main.java:2: error: <identifier> expected public class java{java{ ^ Main.java:4: error: illegal start of expression public static void main(String[] args) { ^ 2 errors |
||
#4 |
Error de compilación
Main.java:2: error: <identifier> expected public class java{java{ ^ Main.java:4: error: illegal start of expression public static void main(String[] args) { ^ 2 errors |
||
#5 |
Error de compilación
Main.java:2: error: <identifier> expected public class java{java{ ^ Main.java:4: error: illegal start of expression public static void main(String[] args) { ^ 2 errors |
public class java{java{ public static void main(String[] args) { int a=3,b=5; suma = a+b; System.out.print(suma); } }