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 |
What is multi-catch block in java?
Garbage collection in java?
What is defined as false sharing in the context of multithreading?
What is object-oriented paradigm?
What is default constructors?
Is 0 a prime number?
what is the difference between future and callable interface in java?
Explain tree set and its features?
Can we declare a class as abstract without having any abstract method?
Differentiate Vector and ArrayList?
Can I learn java without any programming experience?
What is java Applet?