The thing is, if you knew basic Java, like I state as the prerequisite to this tutorial, you would know that in order to use the methods contained in NPC, GroundItem etc. that are not found in the Entity superclass, then you would use the relevant subclass name when storing the instance.
I never mention in this tutorial that you should exclusively use Entity and not the subclass name, I am merely showing the relationship between the different types.