Which identifies all the integer solutions of the equation |x| = 12?

A.
0 only

B.
12 and –12

C.
–12 only

D.
12 only