1/19
Fill-in-the-blank review flashcards based on the Core Java lecture notes, covering core concepts, memory, OOP, exceptions, and Maven.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
In the Java execution pipeline, Java source code is compiled into bytecode before being executed by the __________.
JVM (Java Virtual Machine)
The JDK contains tools needed to develop Java programs (including the compiler), whereas the JRE consists of the JVM plus __________ needed to run Java applications.
libraries
In Windows environment variable setup, the __________ variable points to the root directory location of the installed JDK.
JAVA_HOME
Introduced in JDK 9, __________ is an interactive Read-Evaluate-Print Loop (REPL) tool for prototyping and learning Java.
JShell

According to the Java primitive data types table, the range of the byte type is __________.
-128 to 127
Variables declared with the __________ modifier cannot have their value changed once they are initialized.
final
When formatting text using System.out.printf(), the specifier used to represent integers is __________.
%d

In the Java arithmetic operators table, the % symbol represents the __________ operator, which returns the remainder of a division.
Modulus
Unlike StringBuilder, the __________ class performs mutable string operations and is thread-safe.
StringBuffer

In Java memory management, method calls and local variables are stored on the Stack, while instantiated objects and the String Pool are stored on the __________.
Heap

The built-in Java package that provides core classes and is automatically imported into every Java program is __________.
java.lang
The __________ access modifier is the most restrictive and makes members accessible only within their declaring class.
private
Members declared with the __________ keyword belong to the class itself rather than to individual instances.
static

According to the Scanner methods reference, the method used to take an entire line of input as a String is __________.
nextLine()
The OOP pillar that hides an object's internal fields and restricts direct access using getters and setters is __________.
Encapsulation
Java supports single, multilevel, and hierarchical inheritance, but does NOT support __________ class inheritance.
multiple
Declaring multiple methods in the same class with the same name but different parameter lists is known as Method __________.
Overloading

In the exception hierarchy diagram, subclasses of RuntimeException are classified as __________ exceptions.
unchecked
In a Maven pom.xml file, the combination of groupId, artifactId, and version is called the __________.
artifact coordinates
The Java Reflection API, which allows programs to examine and manipulate their own structure at runtime, is found in the __________ package.
java.lang.reflect