Which line of dialogue is punctuated correctly?(1 point)

Responses

"But I really want one", he whined.
"But I really want one", he whined.

I want a pet, James said.

1 answer

The correctly punctuated line of dialogue is:

"I want a pet," James said.

(Note: The first option you provided appears to be the same and is incorrect due to the punctuation before the dialogue tag.)