Step 1: Add the sources
The resistor drop is $12$ V from A. The inductor drops $L\,dI/dt = -3$ V (a rise of 3 V because the current decreases). The cell drops $6$ V.
Step 2: Net
Total drop from A to B $= 12 - 3 + 6 = 15$ V. Option (D).
Final Answer:
15 V.
\[ \boxed{\text{(D)}\ 15\ \text{V}} \]