Given a Scanner called inStream, what method would we use to determine if there is another boolean value in the stream?

inStream.hasNextBoolean();
  • inStream.nextBoolean();
  • inStream.nextLine();
  • inStream.hasNextLine();

There are no hints for this question.