1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
|
public class Quiz {
public void starteQuiz() {
Eingabe e1 = new Eingabe();
Antwort a1 = new Antwort();
System.out.println("Willkommen zum Quiz");
System.out.println("Wer war...?");
e1.antworteingabe();
if(e1.eingabe == "1") {
a1.antwort1 = true;
a1.quizantwort();
}//end if
}//end starteQuiz
}//end class
|