Respuesta :
By Hamlet comparing Denmark to a prison it indicates that Hamlet feels trapped. Hamlet feels that Denmark has become a prison under his Uncle Claudius's rule and that he is the main one imprisoned as he has so many restrictions placed on him by his Uncle. Therefore he feels trapped and unable to do as he pleases.