Which figure of speech is an example of paradox?

A. I have a mountain of homework to do tonight.
B. As Hamlet said. "I must be cruel, only to be kind."
C. Yesterday's English test was a piece of cake.
D. Writing with a broken pencil is pointless.

D. Writing with a broken pencil is pointless.