What is onClassLoader in java?
Answers were Sorted based on User's Feedback
Answer / rakesh
class loader is a java file which is in JVM.
At the time of of creation of object the .class(having byte
code in secondary memory)files will be loaded into the
primary memory ie RAM by class loader subsystem
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / anil kumar reddy.mannem
With in the JVM we have CLASSLOADER, BYTECODE VERIFIER, GARBAGE COLLECTOR, SECURITY MANAGER, EXECUTION ENGINE.
CLASSLOADER brings class file into JVM, by using classloader the class gets loaded in to the JVM
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / 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 |
Answer / siva thimmannagari
classloader is a java file.
if u want to see the source code.Go to
docjar.com.u will get the source code of classloader program
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / upendranaidu
class loader is used to load the application program in to
jvm.
| Is This Answer Correct ? | 0 Yes | 3 No |
How static variable work in java?
Is Java Platform Independent if then how?
what is synchronization? : Java thread
Which one of the following suits the description of a string better: derived or primitive?
Why are constructors used?
Why are generics used?
Explain different ways of passing arguments to sub-routine?
What is difference between ++ I and I ++ in java?
What is the difference between heap and stack memory?
What is byte value?
In what ways you can handle exception ?
Can we sort hashmap in java?