单项选择题

By the time he retires Mr. Smith()in this hotel for almost 40 years.

A.will have worked
B.will work
C.have worked
D.will has worked