Skip to content
Sharp

API Evolution · interview question

Which modernization strategy is usually safest for a large legacy Java codebase?

Multiple choiceHardchapter-12-curatedpremiumapi-evolutionmigration-strategy
Choose one answer
Answer and explanation

Correct answer

A. Modernize one verified seam at a time with tests or clear before-and-after behavior

Why

Incremental modernization keeps risk reviewable and reduces the chance of hiding regressions inside a giant style rewrite. Good teams modernize where they already understand the behavior and can verify the result.

Test yourself on API Evolution

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

Start free test
All API Evolution questions →