He is ill, he ____ in bed for three weeks.( )
A.is lying
B. has been lying
C.had lied
D.had been lying
正确答案是B