How Long do I Boil a Hard Boiled Egg?

I learned a very effective way to boil eggs. Put eggs in water and turn on heat, after the water comes to a boil, cover with lid and turn off heat and let sit for 25 minutes.