Skip to content
Sharp

Reactive Streams · interview question

Which of the following best describes the lazy nature of a reactive stream?

Multiple choiceMediumchapter-19-curatedpremiumreactive-streamspublisher-and-subscriber
Choose one answer
Answer and explanation

Correct answer

A. It does nothing until subscribe() is called

Why

Reactive streams are lazy, meaning they do not start processing or emitting data until a Subscriber explicitly subscribes to the Publisher. This allows the system to remain efficient and avoid unnecessary computations.

Test yourself on Reactive Streams

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

Start free test
All Reactive Streams questions →