I would like to create an application that will dynamicly load class
files.. I don't understand how I can create a newInstance(Object[]
initargs) method... How do I call this method properly? How does one
play with the the methods of that class that is loaded? I fully
understand the argument that goes into the newInstance method but
what
variable well it go to? How does this come to play with a new object?
I know that Object o =
java.lang.reflect.Constructor.newInstance(objectArray); but how does
it come to play with the getConstructors() method?
well I think my problem is that I don't see enough code using the Class
class or the ClassLoader class..