What are the Uses of Reflection in Java ?

Reflection is often used in Testing, Debugging and in Integrated Development Environment (IDE).

Reflection allows you to write programs that do not have to "know" everything at compile time. It makes programs more dynamic, since they can be tied together at runtime.

Many modern frameworks like Spring etc. use Reflection. Some modern languages like Python etc. also use Reflection.

JAVA API for XMLParsing (JAXP) also uses Reflection.



You May Interest

What are the Differences Between a List and Set Collection in Jav ...

What is the Difference Between init-param and context-param in JS ...

How Will You Implement Error Page in JSP ?

What are the Situations in Which You Choose HashSet or TreeSet in ...

How Will You Delete a Cookie in JSP ?