What is Java Classloader?
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 |
How does map works in java?
How do I convert a string to an int in java?
What is the catch or declare rule for method declarations?
how to compile jsp?
What is formatted output in java?
How do you sort arrays in java?
define the terminology association.
what is an object and how do you allocate memory to it?
How an object is serialized in java?
What is the difference between int and integer in java?
Can we store variables in local blocks?
Do we need to manually write Copy Constructor?