Java Fundamentals, Variables, Methods, and Classes 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/27

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core Java concepts including basic syntax, variables, data types, methods, strings, constructors, accessors, mutators, arithmetic shortcuts, and object-oriented principles.

Last updated 5:42 PM on 9/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards

Main Method

The execution entry point of any Java program, specified by the header public static void main(String[] args).

2
New cards

String

A complex data type in Java representing a sequence or collection of characters enclosed in double quotation marks.

3
New cards

System.out.print()

A Java method that displays the provided string in the output console and keeps the cursor on the same line after printing.

4
New cards

System.out.println()

A Java method that displays the provided string in the output console and moves the cursor to the next line after printing.

5
New cards

Escape Sequences

Special character combinations starting with a backslash used to represent characters that are difficult to include in strings, such as \n (new line), \t (tab), \" (double quote), \' (single quote), and \ (backslash).

6
New cards

Variable

A designated location set aside in memory reserved to store a specific type of data.

7
New cards

Variable Declaration

A statement that instructs the computer to create a variable of a specified data type and assign it a reference name.

8
New cards

Variable Initialization

The act of assigning an initial data value to a variable before it can be used in a program.

9
New cards

Primitive Data Types

Built-in basic Java data types that store values directly, consisting of int, double, char, and boolean.

10
New cards

Reference Variables

Variables declared to store complex data types or objects, which store a memory address reference to the object rather than the object itself.

11
New cards

Java Naming Convention

The identifier naming rule where variable names start with a lowercase letter, contain no spaces, and capitalize the first letter of each subsequent word.

12
New cards

Assignment Statement

A statement in Java that assigns a value to a variable using an equals sign.

13
New cards

Calling a Method

The syntax command used to execute a method on an object or class, written by placing a period after the object or class name followed by the method name and parentheses.

14
New cards

String Concatenation

The process of joining two or more strings or values together using the plus + operator.

15
New cards

Method Arguments (Parameters)

The values or variables passed inside a method's parentheses that the method requires in order to execute.

16
New cards

Return Value

The data value computed and returned by a method upon completion, which can be of any primitive or complex data type.

17
New cards

void

A Java keyword used as a method's return type when the method performs a function but does not return a value.

18
New cards

String Indexing

A zero-based positional mapping system for characters in a string, where index 00 represents the first character and the final index is always length1\text{length} - 1.

19
New cards

Object State

The current cumulative status or condition of an object resulting from all executed methods, which is stored in its state or instance variables.

20
New cards

Instance Variables (Fields)

Variables defined within a class that store values determining the specific state of an object.

21
New cards

Constructor

A special class member that creates an instance of a class and initializes all of its fields, matching the exact name of the class and having no return type.

22
New cards

Accessor Method

A method designed to allow a programmer to find or retrieve the current value of an object's state variable, such as getBalance().

23
New cards

Mutator Method

A method designed to allow a programmer to modify or change the current value of an object's state variable, such as setBalance().

24
New cards

Test Class

A class written to test and verify how methods of another class operate in practice.

25
New cards

Class Instantiation

The command syntax that instructs the computer to create an object from a class using the new keyword followed by a constructor call.

26
New cards

Compound Assignment Operators

Java shortcut operators including +=, -=, *=, and /= that update and reassign a variable relative to its current value.

27
New cards

Increment Operator

The Java shortcut operator ++ that adds 11 to an integer variable (for example, i++ is equivalent to i = i + 1).

28
New cards

Method Header

The signature line declaring a method, which includes its access modifier, return type, method name, and parameters.