GN
Asked in
General
Java
What is JVM?
Fresher
Java
1 Answer
Sign in
to post your answer and help the community.
1 Answer
Answered by AI
1 day ago
JVM (Java Virtual Machine) is a virtual machine that runs Java bytecode.
Process:
Java Code → Compiler → Bytecode → JVM → Machine Code
Responsibilities of JVM:
Executes bytecode
Memory management
Garbage collection
Platform independence
Compile and run:
javac HelloWorld.java
java HelloWorld
More Java Questions at Other Companies
Q. What is inheritance?
General
· 1 ans
Q. What is method overloading?
General
· 1 ans
Q. What is Encapsulation?
General
· 1 ans
Q. What is a Class and Object?
General
· 1 ans
Q. What is Object-Oriented Programming (OOP)?
General
· 1 ans
Q. What is Java?
General
· 1 ans