Skip to content
Sharp

Reflection API · interview question

How would you explain a key advantage of using dynamic class loading for URL routing in a mini-framework in an interview?

Multiple choiceHardchapter-16-curatedpremiumreflection-apidynamic-class-loading
Choose one answer
Answer and explanation

Correct answer

C. It reduces the need for constant recompilation.

Why

Dynamic class loading allows the framework to adapt to changes in URL routes without recompilation, enhancing flexibility and reducing maintenance overhead.

Test yourself on Reflection API

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

Start free test
All Reflection API questions →