Skip to content
Sharp

API Evolution · interview question

Which legacy Java seam is usually the safest first modernization target?

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

Correct answer

A. A DTO, value object, or local switch with stable and verifiable behavior

Why

Small value types and localized logic are easier to characterize and refactor safely. Once those seams are modernized, the surrounding code becomes easier to improve next.

Test yourself on API Evolution

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

Start free test
All API Evolution questions →