In a steam locomotive electric power is provided through_____________?

In a steam locomotive electric power is provided through_____________?

A. overhead wire
B. battery system
C. small turbo-generator
D. diesel engine generator