FB18 - Das Forum für Informatik

fb18.de / Diplom Informatik / Unterbereich Grundstudium / Praktische Informatik

P2 Blatt F

P2 Blatt F 2003-05-12 17:24
RaggaDee
Aufgabe F.1.3

Ja wo läuft sie denn hin……die for-Schleife, wie lange lass ich sie denn laufen? Ja natürlich so oft, so viele Notizen am Start sind. Na toll und wie geht das??

else

IndexOutOfBoundException … .. gell?


edit : sehe grad, sollen wir wohl in F2.3 per Iterator machen…


Re: P2 Blatt F 2003-05-12 18:17
Fred
Ja natürlich so oft, so viele Notizen am Start sind. Na toll und wie geht das??
Offensichtlich hast Du Dir nicht einmal die Muehe gemacht, dir die Klasse einmal anzuschauen…

/** * @return die Anzahl der Notizen in diesem Notizbuch. */ public int anzahlNotizen() { return notizen.size(); }

Re: P2 Blatt F 2003-05-12 19:46
RaggaDee
natürlich habe ich mir die muehe gemacht, aber wohl nicht nachgerdacht :-)

danke