Skip to content
Sharp

Project Reactor · interview question

What does the subscribe() method do in a Flux?

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

Correct answer

A. It initiates the flow of data in the Flux.

Why

The subscribe() method starts the data flow by signaling to the Flux that a subscriber is ready to receive data, initiating the reactive processing pipeline.

Test yourself on Project Reactor

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

Start free test
All Project Reactor questions →