单项选择题

The linear motion of a diesel engine piston is converted to the rotary motion required to drive gears, propeller shafts, and generators by the ().

A.flywheel
B.crankshaft
C.journal bearings
D.camshaft