Skip to content
Sharp

Project Reactor · interview question

How would you explain the key difference between Mono and Flux in Project Reactor in an interview?

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

Correct answer

B. Mono represents a single element or none; Flux represents multiple elements.

Why

Mono is designed to process zero or one element, whereas Flux is designed to handle zero to multiple elements, including potentially infinite streams.

Test yourself on Project Reactor

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

Start free test
All Project Reactor questions →