CodesJava

Easy learning with example program codes

what is classloader in java?


ClassLoader in Java is a class which is used to load class files in Java. Java code is compiled into class file by javac compiler and JVM executes Java program, by executing byte codes written in class file.

ClassLoader is responsible for loading class files from file system, network or any other source. There are following three default class loader in java:

  • Bootstrap ClassLoader: Loads class from JRE/lib/rt.jar
  • Extension ClassLoader: Loads class from JRE/lib/ext
  • Application ClassLoader: Loads class from CLASSPATH environment variable
Sign Up/ Sign In
Ask a Question


Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at hr@codesjava.com.

Development

We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on hr@codesjava.com.

Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki