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
Is heap stored in ram?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is a null check?
Can an interface extend another interface?
What is the purpose of static keyword in java?
What are the different types of java?
Is void a keyword in java?
What initialize variables?
How do you remove an element from an arraylist in java?
Difference between ‘>>’ and ‘>>>’ operators in java?
What is a loop java?
How to check if a list is sorted in java?
What all methods are used to prevent thread execution ?
What is the order of arraylist in java?
what are the states associated in the thread? : Java thread