University friend of Hamlet in the William Shakespeare play of that name (7)
I believe the answer is:
horatio
(Other definitions for horatio that I've seen before include "Hamlet''s friend - Nelson" , "Nelson's first name" , "part of Hamlet" , "Speaker of Good night, sweet prince (Hamlet)" , "Good seafaring name" .)