someone please help me understand Hamlet I have no knowledge of history and I’m confused

OK so Hamlet takes place sometime in the 1100s, and we know canonly that Horatio/ horatio’s family were either middle class, lower middle class, or lower class. We also know that Horatio knows Hamlet from university. BUT WAIT I HAVE SO MANY QUESTIONS.

 If Horatio was lower class, how did he afford university, especially in the 1100s (Im pretty sure the class divide was pretty big then? Idk). 

How did Horatio end up going to the same university as THE PRINCE OF DENMARK??

Here are my possible answers, please please help me figure this out:

1- Horatio’s REALLY smart and got in on some scholarship

2- Horatio somehow met and became friends with Hamlet pre- university, and he got in because Hamlet was like “look, you’re smart, you’re my friend, I don’t care that you can’t afford university, I’m paying for you and you’re coming with me”

3-Horatio actually IS upper class, but compared to Hamlet, the literal PRINCE of Denmark, he’s not.

4- Hamlet went to a regular/ not fancy upper class university for some reason (probably to get away from all the politics and obnoxious people that would probably be found in upper class universities)  

THAT’S IT THOSE ARE THE THEORIES. PLEASE LET ME KNOW WHICH ONES SOUND THE MOST LEGIT.

UPDATE: gonna tag the hamlet experts of tumblr because I need some experts’ opinions: @princesshamlet @affectionate-tenders @stripedroseandsketchpads @binary-bird