Java Basics Vocabulary

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/42

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core concepts, syntax, control structures, and memory mechanics from the Java Basics supplement notes.

Last updated 9:15 PM on 9/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

43 Terms

1
New cards

Java Application

A stand-alone Java program that runs directly on your computer.

2
New cards

Java Applet

A program that cannot run without the support of a browser or viewer, typically sent across the Internet to run remotely.

3
New cards

Object

A program construct that contains data and can perform certain actions.

4
New cards

Class

A category, kind, or type of object. Defines the data types and methods shared by all objects of that class.

5
New cards

Method

A block of code in a program that defines an action an object can perform.

6
New cards

Valued Method

A method that uses a return statement to return a result to the caller.

7
New cards

Void Method

A method that performs an action but does not return a result.

8
New cards

Identifier

A name used in Java to identify parts of a program (variables, classes, methods). Consists of letters, digits, underscores, and dollar signs; cannot start with a digit or contain spaces/special characters.

9
New cards

Unicode

A comprehensive character set used by Java that includes characters and symbols from non-English languages, unlike standard ASCII.

10
New cards

I/O (Input/Output)

The mechanism of receiving data (e.g., keyboard input) and displaying or storing results (e.g., screen output).

11
New cards

System.out

An object in the standard System class used to send text output to the display screen.

12
New cards

println

A method of the System.out object used to print text or data to the screen followed by a new line.

13
New cards

if-else Statement

A conditional branch statement that executes one block of code if a boolean expression evaluates to true, and another if it evaluates to false.

14
New cards

switch Statement

A multiway branch statement that evaluates a controlling expression to choose from several execution paths defined by case statements.

15
New cards

Controlling Expression

The expression in a switch statement whose evaluated value determines which case branch executes (must evaluate to int, char, byte, short, or String).

16
New cards

Enumeration (enum)

A special type used to define a fixed list of named constants, restricting a variable's value exclusively to those specified items.

17
New cards

Scope

The portion of a program in which a declared variable or constant exists and can be accessed, bounded by its enclosing braces {}.

18
New cards

Loop

A control structure that repeats a statement or group of statements until a termination condition is met.

19
New cards

Loop Body

The statement or block of statements that is repeatedly executed within a loop.

20
New cards

Iteration

A single execution of the statements contained inside a loop body.

21
New cards

while Loop

A loop control structure that evaluates a boolean expression prior to each iteration and continues repeating as long as that expression remains true.

22
New cards

String Class

A built-in Java class within the java.lang package used to represent and manipulate sequences of text characters.

23
New cards

ASCII

A character set that assigns a standard numeric code to each character used on a standard English-language keyboard.

24
New cards

Token

A contiguous group of characters treated as a single unit of data (such as an integer, word, or double) when parsed by a Scanner.

25
New cards

Delimiter

A character or set of characters used to separate individual tokens in input data (by default, Scanner uses whitespace).

26
New cards

Scanner Class

A utility class in Java used to parse primitive types and strings using regular expressions, capable of processing input from keyboard (System.in) or directly from a String.

27
New cards

Array

A special object in Java that stores a finite collection of items having the same data type in contiguous memory locations.

28
New cards

Index (Subscript)

An integer expression enclosed in square brackets [] that specifies the position of a specific element within an array, starting at 0.

29
New cards

Zero-Based Indexing

The convention where the first element of an array is located at index 0 and the last element is at index N1N - 1 (where N is the array length).

30
New cards

new Operator

The Java keyword used to instantiate objects and allocate memory locations.

31
New cards

Wrapper Class

A class in Java (e.g., Integer, Double, Character) that encapsulates a primitive type inside an object, allowing primitives to be treated as class types.

32
New cards

Autoboxing

The automatic conversion that the Java compiler makes between primitive types and their corresponding object wrapper classes (e.g., assigning an int directly to an Integer variable).

33
New cards

Primitive Types

The 8 basic Java data types (byte, short, int, long, float, double, char, boolean) that store raw values directly in memory rather than referencing objects.

34
New cards

Reference Types

Data types (classes, arrays, interfaces) whose variables store memory addresses (references) pointing to objects located on the heap, rather than raw values.

35
New cards

final Keyword

A modifier used to define constants (unmodifiable variables), prevent method overriding, or prevent class inheritance.

36
New cards

Type Casting

The explicit conversion of a value from one data type to another, written as (targetType) value.

37
New cards

Math Class

A utility class in java.lang containing static methods for common mathematical operations like Math.abs(), Math.pow(), Math.sqrt(), Math.max(), and Math.random().

38
New cards

for Loop

A loop control structure that combines initialization, boolean condition evaluation, and update expression in a single line.

39
New cards

for-each Loop

An enhanced loop structure designed to iterate sequentially over every element in an array or collection without using explicit indices.

40
New cards

do-while Loop

A post-test loop control structure that executes its body once before evaluating its controlling expression, ensuring at least one execution.

41
New cards

.length Field

A read-only public property of Java arrays that returns the total capacity/number of elements the array can store (note: field, not a method).

42
New cards

equals() vs ==

The == operator compares primitive values or reference memory locations; the .equals() method compares the actual state or contents of objects (e.g., String text).

43
New cards

Unboxing

The automatic conversion of a wrapper class object (e.g., Integer) back to its corresponding primitive value (e.g., int).