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
In questa pagina del sito puoi guardare il video online Dynamic class loading using Java reflection API java job interview della durata di online in buona qualità , che l'utente ha caricato Interview DOT 18 novembre 2012, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,949 volte e gli è piaciuto 2 spettatori. Buona visione!