Which example of dialogue is punctuated correctly?

“Be careful, because the floor is wet,” he warned.
“Be careful, because the floor is wet”, he warned.
“Be careful, because the floor is wet” he warned.
“Be careful, because the floor is wet.” he warned.

Respuesta :

The 4th one

Explanation

He is done talking.