Given a Scanner called inStream, what type of data does the following method return?

inStream.hasNext();
A boolean
  • The next complete token in the stream
  • The next complete line in the stream
  • This method does not return anything

There are no hints for this question.