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 java call by value?
What is literal example?
What is ternary operator in java?
Can an interface extend a class?
What is better- service oriented or batch oriented solutions?
What is run-time class and system class? what is their purpose?
Which method is used to find that the object is exited or not?
Explain about strings in java?
What is the use of singleton?
What is difference between adapter class and listener?
What is floor math?
Can a lock be acquired on a class?