InterviewSolution
Saved Bookmarks
| 1. |
What is not the advantage of Reflection?(a) Examine a class’s field and method at runtime(b) Construct an object for a class at runtime(c) Examine a class’s field at compile time(d) Examine an object’s class at runtimeI got this question by my college director while I was bunking the class.My question is taken from Reflection API in division Session Management, JSP & API of Java |
|
Answer» RIGHT choice is (C) Examine a class’s field at compile time Explanation: Reflection inspects classes, INTERFACES, FIELDS and METHODS at a runtime. |
|