Question: Given a cursor named myCursor, which command returns a boolean value?

  1. myCursor.hasNext()
  2. myCursor.sort()
  3. myCursor.next()
  4. myCursor.find()

Answer: The correct answer of the above question is Option A:myCursor.hasNext()