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 is mean by hasing and maping in java platform and advantage?
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.?.
please mail me the interview question based on java/j2ee
What are the types of java collections? : java collections
What are the types of interface used in the java collections? : java collections
What are the differences between the java collection and the java list? : java collections
What is the use of the list interface in the java collection? : java collections
What are the different types of collections views being provided by the map interface? : java collections
What is iterator in the java collections framework? : java collections
What are the different types of features of the java collections framework? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What is an algorithm in java collection framework? : java collections
What are the different types of ways where you can iterate over a list? : java collections
Which interface does java.util.hashtable implement?