Skip to content
Sharp

Project Reactor · interview question

What does the Mono.just(T data) method do?

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

Correct answer

C. Wraps a single item into a Mono.

Why

Mono.just(T data) creates a Mono that emits the specified single item and then completes. It is used to construct a Mono from a known data value in a non-blocking way.

Test yourself on Project Reactor

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

Start free test
All Project Reactor questions →