which sentence is puntuated correctly?

A) "Watch out! Move out of the way!" he yelled.
B) "watch out! Move out of the way" he yelled!
C) "Watch out! Move out of the way." he yelled!
D) "Watch out! Move out of the way," he yelled!