Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


When will we use class loader?

Answers were Sorted based on User's Feedback



When will we use class loader?..

Answer / ravikiran(aptech mumbai)

classloader is a part of jvm which will load the compiled
class into the jvm

Is This Answer Correct ?    4 Yes 0 No

When will we use class loader?..

Answer / aks

In a Java Virtual Machine (JVM), each and every class is
loaded by some instance of a java.lang.ClassLoader. The
ClassLoader class is located in the java.lang package and
you can extend it to add your own functionality to class
loading.

Since Java 1.2 we have three types of class loaders:
Class loaders created automatically by the JVM
Program defined class loaders
Context class loaders.

There are three Class loaders in first group:
bootstrap class loader - loads classes
from ../jre/lib/rt.jar It is the "root" in the class loader
hierarchy.
extensions class loader - loads classes
from ../jre/lib/ext/*.jar
system class loader - it is responsible for loading in the
application, as well as for loading classes and resources
in the application's CLASSPATH.

Second group includes:
system class loader - parent class loader by default
additional parent class loader can be specified explicitly

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is use of map in java?

0 Answers  


what are the difference between Java and .Net?

5 Answers  


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

0 Answers  


What is a list in java?

0 Answers  


How do you add an element to a set in java?

0 Answers  


What is externalizable interface?

0 Answers  


What is java thread dump, how can we get java thread dump of a program?

0 Answers  


When is the finally clause of a try-catch-finally statement executed?

0 Answers  


What is a local, member and a class variable?

0 Answers  


What is arrays aslist in java?

0 Answers  


What are the differences between abstract class and interface?

0 Answers  


What is difference overloading and overriding?

0 Answers   Cyient,


Categories