/Java Basics & JVM
Concept
Easy

Java Basics & JVM

1 min read

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 Questions5

easy

Q1. What does JVM stand for?


Select one answer before revealing.

easy

Q2. Which JDK component compiles Java source code (.java) into bytecode (.class)?


Select one answer before revealing.

medium

Q3. Which of the following is NOT a feature of Java?


Select one answer before revealing.

easy

Q4. What is the file extension of a compiled Java class file?


Select one answer before revealing.

hard

Q5. What does JIT compilation do in the Java ecosystem?


Select one answer before revealing.