What is Java Classloader?

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


Please Help Members By Posting Answers For Below Questions

Can a final method be overloaded?

717


What is the difference between the prefix and postfix forms of the ++ operator?

779


How big is a 32 bit integer?

759


Are primitives objects?

790


what are Hostile Applets?

1804


Enlist diffrent types of inheritance supported by java?

688


Why we do exception handling in java and how many types of exceptions are there?

771


What is isa relationship?

755


What Is Query Throttling in java?

778


Can we override the static method?

762


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

797


Explain the importance of finally block in java?

742


What is a java lambda expression?

787


What about instanceof operator in java?

789


How do you sort in ascending order in java?

675