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 main classes of the list interfaces? : java collections
What is deque in the java collections framework? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What are the queues in the java collection framework? : java collections
What is java collection? : java collections
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
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
Which interface does java.util.hashtable implement?
What are the different types of ways where you can iterate over a list? : java collections
What are the interfaces in java collections? : java collections
please mail me the interview question based on java/j2ee
my interviewer asked me what technical specification you used how to answer that question
What is the Spring2.5 MVC Navigation flow?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
Which sorting algorithm is used by collections.sort() in java ?