Click here - / @interviewdot to get notifications. Dynamic class loading using Java reflection API java job interview
You can submit your resume for right Job
http://www.interviewdot.com/upload-re...
For more Interview questions and answers - logon to www.InterviewDot.com
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
Explain Java Dynamic class loading ? Java Interview Questions and Answers ?
Loading classes using Class.forName () method. Dynamic class loading is done when the name of the class is not known at compile time
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 allows you to build your applications so that key external dependencies are not compiled into the application source-code.
String str = "InterviewDot";
Interface clazz = null;
try {
clazz = (Interface )Class.forName(str).newInstance();
} catch (Exception e) {
e.printStackTrace();
}
if (clazz != null) {
clazz.foo();
}
You can submit your resume for right Job
http://www.interviewdot.com/upload-re...
For more Interview questions and answers - logon to www.InterviewDot.com
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
Sur cette page du site, vous pouvez voir la vidéo en ligne Dynamic class loading using Java reflection API java job interview durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Interview DOT 18 novembre 2012, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,949 fois et il a aimé 2 téléspectateurs. Bon visionnage!