Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers|
|Advanced level question. Recently asked in few Indian service companies ( Based on 3 inputs )|
|Ans. Bootstrap - Loads JDK internal classes, java.* packages.|
Extensions - Loads jar files from JDK extensions directory - usually lib/ext directory of the JRE
System - Loads classes from system classpath.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   jvm   memory management   class loaders   bootstrap   extensions   system  classloaders   advanced   technical lead   technical architect Asked in 7 Companies|
|What is a class loader ? What are the different class loaders used by JVM ?|
|How are classes loaded by JVM ?|
|Difference between static vs. dynamic class loading?|
|Difference between loadClass and Class.forName ?|
|Do we need different class loaders for different modules in Java 9 ?|