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
On this page of the site you can watch the video online Dynamic class loading using Java reflection API java job interview with a duration of online in good quality, which was uploaded by the user Interview DOT 18 November 2012, share the link with friends and acquaintances, this video has already been watched 1,949 times on youtube and it was liked by 2 viewers. Enjoy your viewing!