public class Test {
public static void main(String[] args) {
for (int i = 0; i < 2; ++i) {
System.out.println("normal");
System.err.println("error");
}
}
}
在IDE下有时运行结果是:
normal
normal
error
error
在命令提示符下运行结果是:
normal
error
normal
error
求大侠解答