What is Java Classloader?



What is Java Classloader?..

Answer / javamasque

Java Classloader is part of Java runtime environment which loads class on demand (lazy loading) into JVM (Java Virtual Machine) not only from local file system but from remote system or web.

There are 3 types of Classloader.
i. Bootstrap Classloader: Loads core java API file rt.jar from <JAVA_HOME/jre/lib> folder.
ii. Extension Classloader: Loads jar files from <JAVA_HOME/jre/lib/ext> folder.
iii. System/Application Classloader: Loads jar files from path specified in environment variable as CLASSPATH.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain the difference between getAppletInfo and getParameterInfo?

1 Answers  


What is the intersection and union methods?

0 Answers  


Write a program to find the whether a number is an Armstrong number or not?

0 Answers   Aspire, Infogain,


Can we have any other return type than void for main method?

0 Answers  


how to use this key word in java programming?

7 Answers  






What is the difference between stored procedure & function?

0 Answers  


Explain about java sdk?

0 Answers  


What is the size of int in 64-bit jvm?

0 Answers  


What is collection sort in java?

0 Answers  


Why is java called java?

0 Answers  


Does variable declaration allocate memory?

0 Answers  


Describe method overriding

0 Answers  


Categories