How a class file is loaded to JVM

Questions by rajesh.tripathi

Showing Answers 1 - 1 of 1 Answers

trinadh

  • Mar 19th, 2008
 

if we use the command some c:java xxx
1. the JVM will be started and it will allocate the memory for holding the information about java classes. this memory are is called "ClassArea".
2. The "Class-Loader" loades the class xxx  that means the information availble in the xxx.class will be read and it will be placed inside the "Class Area".
 if there is a static block or function in class the JVM exicutes that  first.

Try to use -verbose tool to see what is done by jvm at run time..
like use it in java command
c:java -verbose xxx
 OK

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions