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
can u draw class/object diagram for ATM
How is hashset maintained in memory by java ?
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 are the differences between the java collection and the java list? : java collections
What are the different types of collections views being provided by the map interface? : java collections
What are the queues in the java collection framework? : java collections
What are the types of interface used in the java collections? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What is java collection? : java collections
What are the types of java collections? : java collections
What is the enumerator of the java collection framework? : java collections
Which sorting algorithm is used by collections.sort() in java ?
Which interface does java.util.hashtable implement?
What is an algorithm in java collection framework? : java collections
What are the interfaces in java collections? : java collections