Skip to content
Sharp

Reactive Streams · interview question

When using Project Reactor, which method would you use to transform items in a Flux?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamswebflux-vs-virtual-threads
Choose one answer
Answer and explanation

Correct answer

C. Map

Why

The 'map' method is used to transform each item emitted by the Flux using a specified function, producing a new Flux with the transformed items.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →