Zum Inhalt springen

Gr„fin

Mitglieder
  • Gesamte Inhalte

    17
  • Benutzer seit

  • Letzter Besuch

    Nie

Beiträge von Gr„fin

  1. Hallo, ich hab die Beispiele aus dem Buch mal ausprobiert, jedoch ausführen kann ich nichts. Anbei mal so ein Beispiel.

    /* Auto2.java */

    public class Auto2

    implements Groesse

    {

    public String name;

    public int erstzulassung;

    public int leistung;

    public int laenge;

    public int hoehe;

    public int breite;

    public int laenge ()

    {

    return this.laenge;

    }

    public int hoehe ()

    {

    return this.hoehe;

    }

    public int breite ()

    {

    return this.breite;

    }

    }

    Dabei kommen die "bereits angeführten Meldungen heraus".

  2. Danke für die schnellen Hilfen, jedoch hab ich das Buch goto Java 2 schon und hab auch schon einige Beispiele ausprobiert, jedoch klappt ihrendetwas mit dem übersetzen und kompilieren nicht. Folgende Fehlermeldung kommt

    immer.

    H:\Java\jdk1.2.2\bin\java.exe

    Working Directory - H:\Java\

    Class Path - C:\WINNT\java\classes;.;c:\Kawa4.01\kawaclasses.zip;h:\java\jdk1.2.2\lib\tools.jar;h:\java\jdk1.2.2\jre\lib\rt.jar;h:\java\jdk1.2.2\jre\lib\i18n.jar

    Usage: java.exe [-options] class [args...]

    (to execute a class)

    or java.exe -jar [-options] jarfile [args...]

    (to execute a jar file)

    where options include:

    -cp -classpath <directories and zip/jar files separated by ;>

    set search path for application classes and resources

    -D<name>=<value>

    set a system property

    -verbose[:class|gc|jni]

    enable verbose output

    -version print product version

    -? -help print this help message

    -X print help on non-standard options

    Process Exit...

    bzw.

    Debugging can not be started besauce- The current project is not open - Main class or Main HTML file is not selected; Pleace correct it and try again!

    Was kann ich da noch machen ? Weiß nicht mehr weiter

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...