What is onClassLoader in java?

Answers were Sorted based on User's Feedback



What is onClassLoader in java?..

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

What is onClassLoader in java?..

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

What is onClassLoader in java?..

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

What is onClassLoader in java?..

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

What is onClassLoader in java?..

Answer / upendranaidu

class loader is used to load the application program in to
jvm.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Core Java Interview Questions

public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


How can we achieve IPC in JAVA?

1 Answers   Wipro,


What is an immutable class? How to create an immutable class?

0 Answers  


Do loops java?

0 Answers  


What is the use of 'super' keyword inside a constructor?

0 Answers   Flextronics, Thomson Reuters, Virtusa,


what is different between static and non static methods ,using example

2 Answers  


What is ‘has a’’ relationship in java?

0 Answers  


How do you declare an infinite loop?

2 Answers  


Distinguish between a predicate and a function?

0 Answers  


What is a reflection package?

2 Answers  


What are the properties of thread?

0 Answers  


What is the basic concepts of OOPS?

0 Answers   BlackRock,


Categories