
Java MCQs - JVM, JRE and JDK
Java MCQs for Java Virtual Machine ( JVM ) , Java Run-time Environment ( JRE ) and Java Development Kit ( JDK ) with interview questions and answers.
1. JVM stands for ?
A. Java Development Kit
B. Java Virtual Machine
C. Java Run-time Environment
D. Java Verified Machine
View Answer
2. JRE stands for ?
A. Java Development Kit
B. Java Virtual Machine
C. Java Run-time Environment
D. None of Above
View Answer
3. JDK stands for ?
A. Java Development Kit
B. Java Virtual Machine
C. Java Run-time Environment
D. None of Above
View Answer
4. What is Java Virtual Machine (JVM)?
A. It is a physical machine and a specification which provides runtime environment for java bytecode execution.
B. It is an abstract machine and a specification which provides runtime environment for java bytecode execution.
C. It is a abstract machine and a implementation which provides runtime environment for java sourcecode compilation.
D. It is a physical machine and a implementation which provides runtime environment for java sourcecode compilation.
View Answer
5. Having compiled source code, It converts to another code called?
A. Byte code
B. Executable code
C. Binary code
View Answer
6. What is the Java Classloader?
A. It dynamically loads Java source code into the JVM.
B. It dynamically loads Java resources into the JVM.
C. It dynamically loads Java classes into the JVM.
View Answer
7. What are the main operations of JVM?
A. 1) To load code 2) To compile code 3) To executes code 4) To provide runtime environment.
B. 1) To compile code 2) To load code 3) To Executes code 4) To provide runtime environment.
C. 1) To debug code 2) To compile code 3) To Executes code 4) To provide runtime environment.
D. 1) To load code 2) To Verify code 3) To Executes code 4) To provide runtime environment.
View Answer
8. What is a Java Runtime Environment (JRE) ?
A. It is a implementation of JVM and physically exists with bundles of libraries.
B. It is a specification of JVM and physically exists with bundles of libraries.
C. It is a implementation of JVM and virtually exists with bundles of libraries.
D. It is a implementation of JRE and physically exists with bundles of libraries.
View Answer
9. What is a Java development kit (JDK) ?
A. It is a set of libraries with a Java runtime environment.
B. It is a just development tool.
C. It is a development tool with a Java runtime environment.
D. It is a just runtime environment.
View Answer