Monday 16 March 2015

Q 06) Class Loaders ?





A class loader is a component of jvm which checks if we are following all the rules at compile time or not. There after it converts byte codes and loads the “ .class files “ .
There are two types of Class loaders:

1. Boot Strap or System Class Loader :

Boot strap is responsible to load the java API classes  written  by the sun developers. It is responsible to load Jdk’s internal classes
                     Eg : java.* packages
System Class loader can load a class from local path only.

2. User defined Class Loader: 

                    If we want to load the application from remote machine.  If we need to                     define user defined class loader.





No comments:

Post a Comment