PDA

View Full Version : classloader in Java ?



joyadelfin
10-01-2019, 09:27 AM
Hello Dear,


Please Tell Me What is a classloader in Java ?

Sherin
10-02-2019, 02:18 AM
(1) ClassLoader is a part of Java Runtime Environment.
(2) ClassLoader dynamically loads Java Classes into Java Virtual Machine.
(3) The Java run time system does not need to know about files and file systems because of classloaders.
(4) Java classes aren't loaded into memory all at once but when required by an application the JRE calls the Java ClassLoaders and these ClassLoaders load classes into memory dynamically.

Do refer these links for better understanding:
(1) https://www.journaldev.com/349/java-classloader
(2) https://www.geeksforgeeks.org/classloader-in-java/

joyadelfin
10-14-2019, 08:26 AM
Thank's Dear.