They are all followed by a single space before the next word. Parentheses and quotation marks come in pairs. The beginning mark has a space before it and no space between the mark and the following word. The end mark directly follows the word before it and has a space afterward.
Correct “No,” said Joe, “I did not take out the trash.”
Correct I can’t believe she said that, can you?
Correct Wow! That was unexpected!
Correct She asked, “What time is it?”
Correct Please purchase the following items: bread, milk, cereal, and crackers.
Correct I like school; my favorite subject is math.