1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/* 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; } }