What is meant by class loader and how many types are there?

Answer Posted / lucky

Class Loader: Class loder is mainly responsible for loading java class into JVM.

There are 3 types of java class loaders:

1)Bootstrap class loader :loads jdk jars.
2)Extensions class loader : loads java classes from the path
"JAVA_HOME/jre/lib/ext/
3)System class loader : loads the java classes from system class path , class path has been set by the CLASSPATH environment variable.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java jit compilers?

562


Why inputstreamreader is used in java?

558


Explain about instanceof operator in java?

616


What is boolean law?

522


What does math floor () do?

563






Difference between stack and queue?

595


Why char array is preferred over string for storing password?

594


How many tetrahedral voids are there in bcc?

549


How do you take thread dump in java?

566


How static variable work in java?

602


What are the drawbacks of reflection?

567


If a method is declared as protected, where may the method be accessed in java programming?

500


Do you know why doesn't the java library use a randomized version of quicksort?

560


What are the high-level thread states in java programming?

593


Is list ordered in java?

550