1import static java.lang.System.exit;
2
3public class Testing {
4
5public static void main(String... str) {
6
7 exit(0);
8
9
10 //exit(0): It indicates successful end of java program.
11
12 /*exit(-1) or exit(1) or exit(any non zero value):
13 It indicates unsuccessful end of java program.*/
14 }
15}