ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Explain static Vs Dynamic class loading?

Classes are statically loaded with the java’s “new” operator. A NoClassDefFoundException is thrown if a class is referenced with java’s “new” operator.

Dynamic loading is a technique for programmatically invoking the functions of a class loader at runtime.A ClassNotFoundException is thrown when an application tries to load in a class thru its string name.

 

Related Posts Plugin for WordPress, Blogger...
Flag Counter