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
Give some features of interface?
what is a thread pool in java and why is it used?
What is the difference between a factory and abstract factory pattern?
How do you end a program?
What is foreach loop in java?
What is sizeof in java?
Explain runtime exceptions?
When throw keyword is used?
Can I declare class as static or private?
What are drawbacks of singleton class?
What is the epoch date?
What is assembly language?
What is a byte array?
Can we have this () and super () together?
What is the program development process?