Compiler error: “class, interface, or enum expected”

前端 未结 6 1746
时光说笑
时光说笑 2020-11-27 17:29

I have been troubleshooting this program for hours, trying several configurations, and have had no luck. It has been written in java, and has 33 errors (lowered from 50 befo

6条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 18:02

    You miss the class declaration.

    public class DerivativeQuiz{
       public static void derivativeQuiz(String args[]){ ... }
    }
    

提交回复
热议问题