Answer Posted / 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 View All Answers
Why packages are used?
Explain about anonymous inner classes in java?
What is instance synchronization?
Can a java program have 2 main methods?
Which access specifier can be used with class ?
How many bytes is double?
Why there are some null interface in java? What does it mean?
What are the legal operands of the instanceof operator?
Write a java program to print fibonacci series?
What is a literal coding?
Explain abstract class in java?
What is a void method java?
Why arraylist is not synchronized in java example?
How many bits is a 64 bit byte?
According to java operator precedence, which operator is considered to be with highest precedence?