Tell me all possible to boil an egg

To boil an egg you could:
- Boil the water and then submerge the egg in the boiling water for 5 to 10 mins
- Put the the egg in a pot,  add water,  apply heat until it boils, and then wait for 5 to 10 mins