Can't find symbol - class Iterator [Java] -
I'm just starting with Java and getting an error: "Finding Hint - Class Iterator" What's wrong with my code? Storage for an arbitrary number of public class notebooks {// notes. Private Array List & lt; String & gt; notes; / ** * Perform any initial prerequisites for notebook * / public notebook () {Note = New Arrestist & lt; String & gt; (); } / ** * Store a new note in the notebook * @ The ultimate note note should be archived * / public zoo archive notes (string notes) {notes.add (note); } / ** * @ Layers The number of notes currently in the notebook * / Public Ink numberofonotes () {Return Notes. (); } / ** * Show a note * @ The ultimate note number will be shown to show. * / Public Zero Shows Note (Int note number) {If (note no & lt; 0) {// is not a valid note number, so do nothing} And if (notNumber Your error message tells you that it is not about class Known iterator . This issue will be resolved using an import statement....