QUES:
Who is he in the following sentence?

James went to Sully's arcade and he asked for tickets.

ANS:
James

QUES:
Who is they in the following sentence?

The graduate students spend every waking moment studying for their classes since they offer much knowledge and tests as part of their itinerary.

ANS:
their classes

QUES:
Who is he in the following sentence?

John wanted to vote for Doe, but he did not seem like the right candidate.

ANS:
Doe