Error in Eclipse - Mainclass not found

后端 未结 5 2035
醉酒成梦
醉酒成梦 2021-01-24 10:01

I\'m new in programing and I like it pretty much. I\'ve just downloaded Eclipse and I got an error I can\'t help me with. Unfortunately it\'s in German but the meaning is someth

5条回答
  •  忘掉有多难
    2021-01-24 10:34

    I found another error.

      public int  (int carry) // Setting carry into the elevator
    {
        currentCarr = carry;
        if (currentCarr != 0) {
            fillCondition = true;
            return 1;
        } else {
            return 0;
        }
    }
    

    Method can't be called 'int'. This name is reserved by the Java language.

提交回复
热议问题