Answer:
Conduction
Step-by-step explanation:
The heat can be transferred in the substances in three ways: conduction, convection, and radiation.
The conduction happens inside the material, usually a solid, and the heat flows as the molecules of the substance are agitated. The convection happens when there are different substances in touch, so it is the heat passage from a solid to a liquid or gas, from a gas to a liquid or vice versa. The radiation occurs between substances that are far away and the heat flows by electromagnetic waves.
Thus, in the wire, the heat flows by conduction.