Type: Posts; User: Brt93yoda
It stops your currently running program.
System.exit(); //Terminates the currently running Java Virtual Machine. Source: System (Java 2 Platform SE v1.4.2)