Java: Simulation of printStackTr…Something is not that mysterious as it appears to be. We can see that the effect is same with that of e.printStackTrace(). If we want it to be more similar to e.printStackTrace(), we can use System.error.print(). Then the color will be red. ^_^!版权声明:本文为chanryma原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。原文链接:https://blog.csdn.net/chanryma/article/details/48030899