变量不存在,那么这个Java程序是不可能编译通过的

解决方案 »

  1.   

    回复muxinpp(米虫(木心)) :
    用很多include后,不知道有没有申明啦。
      

  2.   

    好像没什么办法,试了如下办法还是不行public class test {
      public test() {
      }
      public static void main(String[] args) {
        test test1 = new test();
      }
      public void main(){
        try{k.getClass() ; }catch (Exception ex) {
                // System.err.println("Can't read logging configuration:");
                // ex.printStackTrace();
            }
      }}