Skip to content
Sharp

Project Reactor · interview question

Why does the subscribe() method in a Mono matter in practice?

Multiple choiceEasychapter-19-curatedpremiumproject-reactorproject-reactor-mono
Choose one answer
Answer and explanation

Correct answer

A. It starts the processing of the Mono pipeline.

Why

The subscribe() method is used to start the processing of the Mono pipeline. Without calling subscribe(), the Mono will not execute its operations, as it follows a lazy execution model.

Test yourself on Project Reactor

A free test with instant, explained results. No account needed.

Start free test
All Project Reactor questions →