[求助]请大家帮帮我啊!
class netfriend { public static void main(String [] args) { try{ int x=System.in.read();} catch(Exception e){}
System.out.println(x); } } 为什么会出错? cannot resolve symbol symbol : variable x location: class netfriend System.out.println(x); ^ 1 error 大家帮忙啊!!!!!