How to Load a class manually
Hello Friends,
I need a help regarding how to load a class manually.
i have theclass name -- TestClass1
andPath - com.apps.classes
Thank you
Hello Friends,
I need a help regarding how to load a class manually.
i have theclass name -- TestClass1
andPath - com.apps.classes
Thank you
Thank You
I got the result
String classPath = com.apps.className;
Object obj = Class.forName(classPath).newInstance();