+ 3
hasNext() is checking if something exists next. True if there is more, false is there is nothing else. next() is actually shifting to the next piece of data and returning its value to you.
9th Nov 2017, 4:43 PM
AgentSmith