What means "Terminated"?
Sometimes when I run a code I get "Terminated" as output. Because of time limit or memory limit? Or slow connection?
It means that it's an unhelpful error message.
Sonic Yes. I am wondering about it. We had a time limit exceed message and same for memory limit. No "an error occurs", no "check your internet connection" anymore but now...
That's also a way of doing something about a problem - just change the report. 😜 But it is a bit better nowadays than it was a while ago, whatever they did to accomplish it.
In case of Java, terminated means that the execution (of your program, or tool, ...) is complete and the JVM exited. It is not an indication that anything has gone wrong in itself. Whether your program exits with no error, or with a nasty stack trace, you'll see this message. Normally, if a program has sent anything to system.out or System.err, you would see it in the console, though. There are additional suggestions here. https://stackoverflow.com/questions/18504493/no-console-output-in-eclipse-juno
May be because of exception arises which is uncaught, i think...