public boolean findNote(String searchedNote)
{
for (int i=0;i<notes.size();i=i+1)
{
String givenNote = notes.get(i);
if ( searchedNote.equals(givenNote))
return true;
}
return false;
}
This comment has been removed by the author.
ReplyDelete