How does Hamlet show his Heroism?

Does he do anything in the play that seems heroic? How do you define heroism? Does he do anything that is for someone else's benefit that puts his own person in some kind of jeopardy?