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 |
What’s a deadlock?
What are the differences between getting and load method?
Can we pass a primitive type by reference in java? How
When will you define a method as static?
What is the difference between delete and delete[]
What is the do while loop syntax?
What is parsing and its types?
How we can execute any code even before main method?
How thread scheduler schedule the task?
How does the garbage collector works in java?
This is related to threads. I have a class with synchronized method m1(). Can I create different instances of this class and execute the m1() for different threads?
What is meant by Java interpreter?