A student wants to magnetise two steel bars, X and Y. She puts bar X inside a coil that is connected to a d.c. power supply. She holds bar Y parallel to a magnetic field and strikes it with a hammer. Which bar(s) are magnetised?
- AX and Y
- BX only
- CY only
- Dneither X nor Y