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 the enumerator of the java collection framework? : java collections
What is the Spring2.5 MVC Navigation flow?
What are the main classes of the list interfaces? : 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.
What are the types of the main implementing classes in the map interfaces? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What are the differences between the java collection and the java list? : java collections
Should we create system software ( e.g operating system ) in java ?
my interviewer asked me what technical specification you used how to answer that question
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
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.?.
How is hashset maintained in memory by java ?
What are the different types of collections views being provided by the map interface? : java collections
What are maps interfaces in the java collections? : java collections
What is the difference between comparable and comparator in java.util pkg?