单项选择题

By the time she takes the entrance examination, Louis ______ Spanish for five years.

A.had been studying
B.has studied
C.will have been studying
D.will study