Submitting code on CodeEval site

后端 未结 3 1753
难免孤独
难免孤独 2021-01-21 00:22

A Java program on CodeEval had to accept a file path as an argument. I used a command line argument to do this, but I get an exception as below when I submitted my code on CodeE

3条回答
  •  面向向阳花
    2021-01-21 01:26

    Firstly, Check the name of class.Class name should be 'Main'. Second you have to give all the imports in CodeEval Editor which you are using in your program.

提交回复
热议问题