The teacher said to me, “Have you finished your homework?”
A.
The teacher asked me whether I have finished my homework.
B.
The teacher asked me whether I finished my homework.
C.
The teacher asked me whether had I finished my homework.
D.
The teacher asked me whether I had finished my homework.