注意:“java test”中的test是有区分大小写的。

解决方案 »

  1.   

    哦,刚才没留意,在公有类中没有main函数,所以不能直接运行。
      

  2.   

    "在公有类中没有main函数,所以不能直接运行",那要如何运行?
      

  3.   

    要增加public static main(String arg[])
      

  4.   

    public static void mian(String[] args[]){
          Test yourTest=new Test();
          yourTest.yourMeathod(paras);
    }
      

  5.   

    public static void mian(String[] args){
          Test yourTest=new Test();
          yourTest.yourMeathod(paras);
    }参数是不是应该是这样的呀(String[] args),galewithwing(漂流的风)的参数格式(String[] args[]))我还是头次见到.
    抱歉!