1/22
Vocabulary flashcards focusing on Java syntax, concepts, primitive types, array handling, ArrayLists, and String methods from the lecture transcript.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Object-Oriented Programming
A programming paradigm that focuses on capturing and encapsulating data into a structure (an Object) and heavily focuses on reusable code.
Just-in-time compilation
The compilation process where Java bytecode is translated into machine code at runtime.
Java Runtime Environment (JRE)
An OS-dependent environment that contains the Java Virtual Machine (JVM) and provides an interface to the JVM for communication with the OS.
Java Development Kit (JDK)
An OS-dependent suite required for Java development that provides the Java compiler (javac) and a JVM for running bytecode.
char
A primitive data type representing a single alphanumeric digit or symbol ('character') represented by 1 byte.
int
A primitive data type representing a whole number represented by 4 bytes.
float
A primitive data type representing a number that contains a decimal, represented by 4 bytes and providing 6 digits of precision.
double
A primitive data type representing a number that contains a decimal, represented by 8 bytes and providing 14 digits of precision.
boolean
A primitive data type representing a value corresponding to 'true' or 'false'.
Scanner
An object utilized to receive input from the user, instantiated as Scanner scn = new Scanner(System.in).
Class
A collection of variables and methods (functions) that pertain to that collection, of which every Java program has at least one.
Object/Reference variables
Variables that store the reference value to an object in memory rather than raw primitive values.
Typecasting
The practice of temporarily treating a variable as another type by placing parentheses containing the target data type inside a statement before the variable or expression.
Method return type
The declaration detailing what value type a method will send back to whatever called it.
.clone()
A method used on an array to create a true copy/duplicate rather than making a second variable pointing to the original array.
Enhanced For Loop
Also known as the 'For Each' loop, a loop structure used to iterate over an array and similar structures.
ArrayList
A dynamic/resizable generic array residing in a contiguous block of memory that can store objects, but not primitive data types.
Wrapper classes
Objects representing primitive data types that allow simple data to be used in structures that require objects, such as ArrayLists.
String Pool
A block of memory holding every known string literal created in a Java program.
compareToIgnoreCase
A String method used to compare two strings while ignoring case differences.
equals
A String method that determines if two strings have the same value.
compareTo
A String method that determines which string comes first, based on ASCII order.
strip
A String method that returns the string with all leading and following whitespace removed.