Java Basics & JVM
Difficulty: easy
Overview
Java is a platform-independent, object-oriented language. The JDK includes the javac compiler, JVM, and standard libraries. javac compiles .java source files into .class bytecode. The JVM executes bytecode, enabling "Write Once, Run Anywhere". JIT (Just-In-Time) compilation converts hot bytecode paths into native machine code at runtime for performance.
Practice Linked Questions
Q1. What does JVM stand for?
Select one answer before revealing.
Q2. Which JDK component compiles Java source code (.java) into bytecode (.class)?
Select one answer before revealing.
Q3. Which of the following is NOT a feature of Java?
Select one answer before revealing.
Q4. What is the file extension of a compiled Java class file?
Select one answer before revealing.
Q5. What does JIT compilation do in the Java ecosystem?
Select one answer before revealing.