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 any two differences between C++ and java.

786


Where is the find and replace?

736


What happens if we don’t override run method ?

751


What is unicode full form?

737


Explain the scope of a variable.

838


How does a for loop work?

728


What are Normalization Rules? Define Normalization?

750


Can we write method inside a method in java?

738


What is variable length arguments in java?

713


What is java virtual machine and how it is considered in context of java’s platform independent feature?

839


What is computer compiler?

737


Which collection is thread safe in java?

725


Can you explain the final method modifier?

758


How we can generate random numbers in java?

843


What are the important features of Java 8 release?

797