Reflection in Java

Overview In this blog, we will cover the following points What is Reflection API? Using private methods Using private fields Sample Code Reflection API Reflection allows instantiation of new objects, invocation of methods, and get/set operations on class variables dynamically at run time without having prior knowledge of its implementation. Read more…