process finished with exit code 2 code example
Example: Process finished with exit code 0
The real program is just outputting hellow as expected. Saying that the Process finished with exit code 0 means that everything worked ok. If an exception occurs in your program or otherwise an exit is generated with non-zero argument, the IDE is gonna inform you about this, which is useful debug information