Answer: D
Step-by-step explanation:
Circular magnetic field is produced around a wire when current flows through it. This magnetic field deflects the needle of a magnetic compass. Thus, the correct option is
D. have a current flowing through it.
1.6m questions
2.0m answers