He _____ his homework and then went to bed. A. finished B. will finish C. is finishing D. has finished