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 is a resource leak ?
What is the difference between access specifiers and access modifiers in java?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Can constructor return value?
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
Is treeset sorted in java?
Can a set contain duplicates?
What is the difference between class forname and new?
What is sorting algorithm in java?
Explain the difference between the public, private, final, protected, and default modifiers?
Write a program to check string is palindrome without using loop?
how to accept integer array in java