Does a comma always follow 'of course'? [duplicate]

Solution 1:

Of course not.

Am I going to explain? Of course I am.

"Of course" has many uses. Sometimes it is used in a similar way to the word "obviously". It is in this context that it should be followed by a comma.

Of course, I will explain further.

Obviously, I will explain further.

In other contexts, "of course" is added for emphasis, in the way the word "definitely" might.

Of course not!

Definitely not!

When "of course" is used in the middle of a sentence, it is generally surrounded by parenthetical commas:

This, of course, is an example.