I don't understand what wrong. I am new in java programming. This is my simple code :
import java.io.Console;
public class TestCode
{
public static void main(String[] args)
{
Console console = System.console();
console.printf("HELLO WORLD\n");
System.out.printf("Hello World");
}
}
I don't understand where the the error is! Please anyone could explain these.