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 OOPS Concept?

1 Answers   Cap Gemini,


please send me hr interview questions in it industry

0 Answers  


How many bits is a boolean?

0 Answers  


How do you empty a list in java?

0 Answers  


How do you take thread dump in java?

0 Answers  






i need source code for income tax program using java inheritance

1 Answers  


What are static variables and functions?

0 Answers   Tech Mahindra,


By what default value is an object reference declared as an instance variable?

1 Answers   Wipro,


What language is pass by reference?

0 Answers  


what is ejb? what is the importance of ejb?

2 Answers   Photon,


What is a hashmap used for?

0 Answers  


what is the use of declaring constructor as private?

5 Answers   Cyient, IVY Technologies, Sai Softech, Virtusa,


Categories