java static & dynamic class loading interview

Veröffentlicht am: 08 August 2012
auf dem Kanal: Interview DOT
17,593
50

Click here -    / @interviewdot   to get notifications. TOP TEN JAVA BOOKS
http://www.interviewdot.com/books-dow....


FREE Java Interview Book Download.All The Best.

http://www.interviewdot.com/books-dow....

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.


Auf dieser Seite können Sie das Online-Video java static & dynamic class loading interview mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Interview DOT 08 August 2012 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 17,593 Mal angesehen und es wurde von 50 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!