I have a question regarding static and dynamic class loading. I do understand that by writing the new operator, we are statically loading the class and by writing class.forName(), we are dynamically loading the class. My question is that under what conditions do we use dynamic class loading, where loading a class dynamically would make a difference.?
Thanks in advance,
Joined: Oct 13, 2005
That sounds like one of those things you don't actually have to know about. What's more, it might vary from implementation to implementation.
If you search, you find there are a few probably relevant old questions: 1234 (with a link to an older thread)5 ... and there were others.