Suppose cursor points to a node in a linked list. Which statement changes cursor so that it points to the next node?

cursor = cursor.next();
  • cursor++;
  • cursor = next();
  • cursor += next;

We have to access a field of the node being pointed to.

Only one of these statements does that.