单项选择题

Mary was()to school when she saw the accident.

A. on her way
B. in her way
C. by her way
D. in a way