In a series circuit with an inductor and a resistor connected to a constant voltage source, how does the current behave over time after the circuit is closed?
A. The current immediately reaches a maximum value and remains constant.
B. The current gradually increases and eventually reaches a steady state value, determined by the resistor.
C. The current gradually decreases to zero over time.
D. The current fluctuates between zero and the maximum value.