Home » JAVA Programming » Java Basic » Question
  1. What is not the advantage of Reflection?
    1. Examine an object’s class at runtime
    2. Examine a class’s field at compile time
    3. Construct an object for a class at runtime
    4. Examine a class’s field and method at runtime
    5. None of these
Correct Option: B

Reflection inspects classes, interfaces, fields and methods at a runtime.



Your comments will be displayed only after manual approval.