This is a small and simple program to demonstrate the use of Java reflection API. In this demonstration, I have shown how to load a “default class” dynamically from a different package and access it’s private constructor, instantiate it, and access it’s private members(methods and fields) with the help of Reflection API in Java. Well, loading of the default class was not a part of reflection though. But the rest of the program is complete reflection.