单项选择题

The magnetic field is provided by electromagnets so arranged that adjacent poles have ().

A.opposite polarity
B.the same polarity
C.negative polarity
D.positive polarity