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

Can you use this() and super() both in a constructor?

520


What is the public method modifier?

540


Does chrome use java?

517


Do I need java for windows 10?

546


What is difference between fileinputstream and filereader in java?

557






List some important features of java 10 release?

511


What is Java Package and which package is imported by default?

591


What is covariant return type?

639


What are the steps that are followed when two computers connect through tcp?

515


Can a class with private constructor be extended?

484


Why for each loop is used?

500


Explain about core java?

618


Give the hierarchy of inputstream and outputstream classes.

608


How many bits is size_t?

540


Are primitives objects?

562