The correct answer is B.
The fact that Mercutio recites a long speech to another character is enough to make it an example of a monologue.
He does not have to be alone on stage -- that would make it a soliloquy. By contrast, a monologue is simply a long speech spoken by a single character who is not alone on stage.