Skip to content
Sharp

Spring Core · interview question

How does Spring handle transactions when methods marked with @Transactional are called from different beans?

Multiple choiceMediumchapter-9-curatedpremiumspring-coretransactions-and-proxies
Choose one answer
Answer and explanation

Correct answer

C. Each method call is transactional

Why

When @Transactional methods are called from different beans, each call can be managed by its own proxy, ensuring that each method can participate in a transaction independently.

Test yourself on Spring Core

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

Start free test
All Spring Core questions →