Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Core Java - Interview Questions and Answers for 'Reflection api' - 4 question(s) found - Order By Newest | ||||
| ||||
Ans. It is the process of examining / modifying the behaviour of an object at runtime. | ||||
![]() | ||||
![]() | ||||
![]() ![]() ![]() ![]() ![]() ![]() | ||||
| ||||
Ans. We can either increase their visibility and mark them with annotation @VisibleForTesting or can use reflection to individually test those methods. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. no, It's like challenging the design of application. | ||||
![]() | ||||
![]() ![]() ![]() ![]() ![]() | ||||
| ||||
Ans. Because it has to inspect the metadata in the bytecode instead of just using precompiled addresses and constants. | ||||
![]() | ||||
![]() ![]() ![]() | ||||