java static & dynamic class loading interview HD
TOP TEN JAVA BOOKS http://www.interviewdot.com/books-download/technical/top-ten-java-books-buy-o... FREE Java Interview Book Download.All The Best. http://www.interviewdot.com/books-download/java-interview-books-free-download... http://www.interviewdot.com Explain Java static class loading and dynamic class loading ? Dynamic Java Class loading is an important feature of the Java Virtual Machine because it provides the Java platform with the ability to install software components at run-time. It has a number of unique characteristics. First of all, lazy loading means that classes are loaded on demand and at the last moment possible. Second, dynamic class loading maintains the type safety of the Java Virtual Machine by adding link-time checks, which replace certain run-time / dynamically checks and are performed only once. Moreover, programmers can define their own class loaders that. Difference between static class loading and dynamic class loading ? The static class loading is done through the new operator. Dynamic class loading is achieved through Run time type identification. Also called as java reflection . Instance can also be created using forName() method. It loads the class into the current class memory.
Похожие видео
Показать еще