JVM responsibility?
Answers were Sorted based on User's Feedback
Answer / chaitu
the main responsibilty of jvm(java virtual meachine) is to
conveting the .class file to related operating system .exe
which is executed by cpu..
jvm is platforum dpendent but java is platforum independent
| Is This Answer Correct ? | 28 Yes | 3 No |
Answer / harish
1)JVM converts the byte code into its equalent excutable
code.
2)It loads the excuteable code into memory(RAM).
3)Excutes this code through local OS.
4)Deletes the excutable code from RAM.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / priyanka shetty
JVM'S main job is to load class files and execute the byte
codes they contain
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / guest
creation of compilation unit
secure access to system resources
running of bytecode
garbage collection
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / syed mudassir
jvm is a java virtual machine which has multiple tasks to
work on.
converting .class into exe code is one of the responsibility
of jvm
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / renuka reddy.
JVM(Java Virtual Machine):-
JVM plays a central role in making java portable.
when we write a code in java program the java
compiler converts the source code into bytecode (.class
file),after that JVM reads the bytecode and converts into
the machine understandable language.
Its just like the interpreter but the normal
interpreter is a platform dependent but JVM is a platform
independent.
| Is This Answer Correct ? | 4 Yes | 8 No |
Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?
What is string [] args?
What is the significance of listiterator?
Which keyword specify that a variable is effectively final ?
What is the purpose of java?
How do you replace all in word?
what is main purpose of abstract class?
Does java initialize arrays to zero?
Can a top level class be private or protected?
What is "finally" keyword?
when everything can be done by static block then why do we use main method?.
How Vector class is synchronized,How to build user defined class as synchronized?