Class Auto

java.lang.Object
  extended byAuto

public class Auto
extends java.lang.Object

Beschreibung.

Version:
1.0 vom 09.02.2006
Author:

Constructor Summary
Auto(double volumenTank, double verbrauchAuf100km)
           
 
Method Summary
 void fahre(double kilometerZahl)
           
 double getAktuellerFuellstand()
           
 double getVerbrauchAuf100km()
           
 double getVolumenTank()
           
 void setAktuellerFuellstand(double aktuellerFuellstand)
           
 void tanke(double menge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Auto

public Auto(double volumenTank,
            double verbrauchAuf100km)
Method Detail

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)