JAVA,注意类名必须为Main, 不要有任何package xxx信息 避免用hasNextLine() System.out.println(“要打印的内容”); 类 System: 类 PrintStream: