Skip to content
Sharp

Project Reactor · interview question

Why does the difference between Mono and Flux in Project Reactor matter in practice?

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

Correct answer

D. Mono emits zero or one item, while Flux emits zero to many items.

Why

Mono is designed to emit zero or one item, making it suitable for single-result operations. Flux, on the other hand, can emit zero to many items, fitting scenarios where multiple results are expected.

Test yourself on Project Reactor

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

Start free test
All Project Reactor questions →