Skip to content
Sharp

Reflection API · interview question

Which of the following is NOT a drawback of using Java Reflection?

Multiple choiceMediumchapter-16-curatedpremiumreflection-apimethod-invoke
Choose one answer
Answer and explanation

Correct answer

B. Improved performance

Why

Reflection generally incurs a performance penalty due to runtime type checking and method invocation overhead, not an improvement.

Test yourself on Reflection API

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

Start free test
All Reflection API questions →