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 |
Is string a datatype?
What is JVM ? use of JVM?
What are assertions in java?
Can an unreachable object become reachable again?
What is difference between throw and throws ?
how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there?
Why string objects are immutable in java?
Can we extend singleton class?
What is the difference between abstract classes and interfaces?
What is a type parameter in java?
List two java ide’s?
how to make a un-checked exception as a checked exception one.