问题分析:一直用sout都能正常弹出,System.out.println突然就不行了,而且println还标红报错! 解决方法:与一切设置都没有关系,因为你把println写在了方法外面!把println写在方法里面! 相关文章: