Answer Posted / rakesh kumar mishra
A)JVM convert .class to machine language.
B) JVM is .exe program that is java.exe
C)JVM (Java Virtual Machine) run the java program.
1) JVM check .class code is proper or not (Its check byte
code , virus etc) if .class code is not proper it terminate
the execution.
2) If .class is in proper format then it will start work.
JVM has 5 part:-
1)Method Area
2)Heap Area
3)Java Stacks
4)PC register
5)Native Method Stacks
method area has class code, variables code and method code.
When object is created it store in heap Area.
In our program there will some methods, and its take some
memory for execution and store o/p so this is done in Java
Stacks.
PC register has memory address of every method.
Native Method has Native methods.
3) JVM start program from main(). this is starting point of
JVM in our Program.
JVM also check main method and its argument must be String
type array.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the queues in the java collection framework? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What are the types of java collections? : java collections
What are the different types of features of the java collections framework? : java collections
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is the use of hashcode in java ?
what is mean by hasing and maping in java platform and advantage?
What are the different types of ways where you can iterate over a list? : java collections
What are the types of interface used in the java collections? : java collections
can u draw class/object diagram for ATM
my interviewer asked me what technical specification you used how to answer that question
What is the Spring2.5 MVC Navigation flow?
What is the use of the list interface in the java collection? : java collections