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

What is multi-catch block in java?

0 Answers  


Garbage collection in java?

0 Answers  


What is defined as false sharing in the context of multithreading?

0 Answers  


What is object-oriented paradigm?

0 Answers  


What is default constructors?

0 Answers  






Is 0 a prime number?

0 Answers  


what is the difference between future and callable interface in java?

0 Answers  


Explain tree set and its features?

0 Answers  


Can we declare a class as abstract without having any abstract method?

0 Answers  


Differentiate Vector and ArrayList?

6 Answers   Max Telecom, Wipro,


Can I learn java without any programming experience?

0 Answers  


What is java Applet?

0 Answers   TCS,


Categories