Aufgabe 1 (Programmierung: Klasse): ---------------------------------- siehe Zustand.java Aufgabe 2 (Programmierung: Array): --------------------------------- siehe ZustandsListe.java Aufgabe 3 (Wertausdruecke, Bedingung, Referenztyp): -------------------------------------------------- a) 4 b) 9 c) false d) 125 e) 2 Aufgabe 4 (Methoden, while, if): ------------------------------- a) 10 b) 7 c) 2 Aufgabe 5 (Klassen, Parameter, Verschattung(!)) ----------------------------------------------- a) 7 b) 5 c) 196 Aufgabe 6 (Exceptions): ----------------------- a) NullPointerException b) ArrayIndexOutOfBoundsException c) ok Aufgabe 7 (Vererbung): --------------------- a) AACAC b) BDD c) BDD Aufgabe 8 (Fehlersuche): ------------------------ Zeile 10: H (non-static method ... cannot be referenced from a static context) Zeile 12: E (incompatible types, found: ..., required: ...) Zeile 13: E (incompatible types, found: ..., required: ...) Zeile 17: C (cannot find symbol, symbol: ..., location: ...) Aufgabe 9 (Bonus-Aufgabe): ------------------------- siehe Raetsel.java