Class Auto
java.lang.Object
Auto
- public class Auto
- extends java.lang.Object
Beschreibung.
- Version:
- 1.0 vom 09.02.2006
- Author:
Constructor Summary |
Auto(double volumenTank,
double verbrauchAuf100km)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Auto
public Auto(double volumenTank,
double verbrauchAuf100km)
fahre
public void fahre(double kilometerZahl)
getAktuellerFuellstand
public double getAktuellerFuellstand()
getVerbrauchAuf100km
public double getVerbrauchAuf100km()
getVolumenTank
public double getVolumenTank()
setAktuellerFuellstand
public void setAktuellerFuellstand(double aktuellerFuellstand)
tanke
public void tanke(double menge)