What is onClassLoader in java?

Answer Posted / r.jude silvester

A class loader is an object that is responsible for loading
classes. The class ClassLoader is an abstract class. Given
the name of a class, a class loader should attempt to
locate or generate data that constitutes a definition for
the class. A typical strategy is to transform the name into
a file name and then read a "class file" of that name from
a file system.

Applications implement subclasses of ClassLoader in order
to extend the manner in which the Java virtual machine
dynamically loads classes.

Class loaders may typically be used by security managers to
indicate security domains.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give example to differentiate between call by value and call by reference.

588


How to sort array in descending order in java?

508


Why does java not allow multiple public classes in a java file ?

3434


Can we have more than one package statement in source file ?

584


State one difference between a template class and class template.

618






What is parsing and its types?

583


Why is a string immutable?

539


What is meant by attribute?

590


How to make a non daemon thread as daemon?

543


What is %02d?

573


What does java stand for?

549


Why synchronization is important in java?

558


How to instantiate member inner class?

620


How do you test a method for an exception using junit?

527


Which is easier netbeans or eclipse?

606