何时在Java中调用System.Exit
System.exit(0)
public class TestExit{
public static void main(String[] args)
{
System.out.println("hello world");
System.exit(0); // is it necessary? And when it must be called?
} }婷婷同学_
相关分类