Fehler in Eclipse - Hauptklasse nicht gefunden

Ich bin neu in der Programmierung und es gefällt mir ziemlich gut. Ich habe gerade Eclipse heruntergeladen und eine Fehlermeldung erhalten, bei der ich nicht helfen kann. Leider ist es auf Deutsch, aber die Bedeutung ist ungefähr: "Hauptklasse nicht gefunden" - "Fehler: Hauptklasse konnte nicht gefunden oder geladen werden"

Ich verstehe, dass es etwas zu tun hat mit "public static void main(String [] args)". Da dies für mich völlig neu ist, wäre es cool, wenn Sie mir helfen könnten.

Unterhalb des Fehlerquellcodes;

/**
 * Write a description of class Light here.
 * 
 * @author (Sunny)
 * @version (31.01.2014)
 */

public class Elevator {
    // Variables

    int maxCarr; // max. carry in KG
    int currentCarr; // current state of carry measured in people
    boolean fillCondition; // filed or empty - value false = empty
    int currentStage; // stage where elevator remains


    // Constructor
    public Elevator() // initiation
    {
        maxCarr = 1600;
        currentCarr = 0;
        fillCondition = false;
        currentStage = 0;
        System.out.println("**********");
        System.out.println("*        *");
        System.out.println("*        *");
        System.out.println("*        *");
        System.out.println("*        *");
        System.out.println("*        *");
        System.out.println("*        *");
        System.out.println("**********");
    }

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

    public void move(int stage) {
        if (stage > currentStage) {
            System.out.println("moving up");
            currentStage = stage;
        } else {
            System.out.println("moving down");
            currentStage = stage;
        }
    }
}

Antworten auf die Frage(7)

Ihre Antwort auf die Frage