Klasse Zug

java.lang.Object
de.qstudios.underground.Zug

public class Zug extends Object
Class for Trains with fields Sitze, Hersteller, Kosten and V-Max
  • Konstruktordetails

    • Zug

      public Zug(int sitze, String hersteller, int v_max)
  • Methodendetails

    • getSitze

      public int getSitze()
      Gibt zurück:
      int
    • getHersteller

      public String getHersteller()
      Gibt zurück:
      String
    • getKosten

      public int getKosten()
      Gibt zurück:
      int
    • getV_max

      public int getV_max()
      Gibt zurück:
      int