# Java glossary: Apprentice level

61 Java terms at the Apprentice level, each with a short definition and a link to its full page.

Updated: October 16, 2026

[Study these as flash cards](https://www.ask-codey.com/decks/java/apprentice)

- [@Test](https://www.ask-codey.com/glossary/test): Used to mark a function as a test in JUnit.
- [== versus equals()](https://www.ask-codey.com/glossary/versus-equals): A distinction where == compares references while equals() usually compares object content.
- [Array](https://www.ask-codey.com/glossary/array): A fixed-size, indexed collection whose elements all have the same type.
- [Array Index](https://www.ask-codey.com/glossary/array-index): A zero-based number that identifies an element's position in an array.
- [Array Initializer](https://www.ask-codey.com/glossary/array-initializer): A brace-enclosed list of values used to fill an array when it is created.
- [Array Length](https://www.ask-codey.com/glossary/array-length): The fixed number of elements an array can hold.
- [break](https://www.ask-codey.com/glossary/break-java): A statement that immediately exits the nearest loop or switch.
- [camelCase](https://www.ask-codey.com/glossary/camelcase): A naming style that starts lowercase and capitalizes each later word.
- [case Label](https://www.ask-codey.com/glossary/case-label): A possible value that a switch statement can match.
- [Command-Line Argument](https://www.ask-codey.com/glossary/command-line-argument): A string passed to a Java program when it starts.
- [Constant](https://www.ask-codey.com/glossary/constant-java): A named value intended not to change after initialization.
- [continue](https://www.ask-codey.com/glossary/continue-java): A statement that skips the rest of the current loop repetition.
- [default Label](https://www.ask-codey.com/glossary/default-label): The switch path used when no case matches.
- [Division](https://www.ask-codey.com/glossary/division): 5 / 2 = 2 -- the remainder is discarded.
- [do-while Loop](https://www.ask-codey.com/glossary/do-while-loop): A loop that runs its body once before checking whether to repeat.
- [Enhanced for Loop](https://www.ask-codey.com/glossary/enhanced-for-loop): A loop that visits each element of an array or iterable collection.
- [enum](https://www.ask-codey.com/glossary/enum-java): A type that defines a fixed set of named constants.
- [Enumeration Constant](https://www.ask-codey.com/glossary/enumeration-constant): One of the named values declared inside an enum.
- [equals()](https://www.ask-codey.com/glossary/equals): A method used to test whether two objects have equal content.
- [equalsIgnoreCase()](https://www.ask-codey.com/glossary/equalsignorecase): A String method that compares text without treating letter case as different.
- [Escape Sequence](https://www.ask-codey.com/glossary/escape-sequence): A backslash code that represents a special character inside a string or character literal.
- [final](https://www.ask-codey.com/glossary/final): A modifier that prevents reassignment, overriding, or inheritance depending on where it is used.
- [for Loop](https://www.ask-codey.com/glossary/for-loop-java): A loop that keeps its setup, condition, and update together.
- [Fully Qualified Name](https://www.ask-codey.com/glossary/fully-qualified-name): A type's complete name including its package.
- [import Statement](https://www.ask-codey.com/glossary/import-statement): A declaration that lets code use a type by its short name.
- [Infinite Loop](https://www.ask-codey.com/glossary/infinite-loop-java): A loop whose stopping condition never becomes false.
- [Instance Variable](https://www.ask-codey.com/glossary/instance-variable): A field stored separately in every object created from a class.
- [Java API](https://www.ask-codey.com/glossary/java-api): The standard classes and interfaces supplied with the Java platform.
- [Java Naming Conventions](https://www.ask-codey.com/glossary/java-naming-conventions): Common capitalization patterns that make Java names consistent and recognizable.
- [java.util.Random](https://www.ask-codey.com/glossary/java-util-random): A class that produces pseudorandom values of several primitive types.
- [Local Variable](https://www.ask-codey.com/glossary/local-variable-java): A variable declared inside a method or block and usable only there.
- [Loop Counter](https://www.ask-codey.com/glossary/loop-counter): A numeric variable used to track loop repetitions or positions.
- [Math Class](https://www.ask-codey.com/glossary/math-class): A standard class containing constants and static mathematical methods.
- [Math.random()](https://www.ask-codey.com/glossary/math-random): A method that returns a pseudorandom double from 0.0 up to, but not including, 1.0.
- [Method Argument](https://www.ask-codey.com/glossary/method-argument): A value supplied to a parameter when a method is called.
- [Method Overloading](https://www.ask-codey.com/glossary/method-overloading): Defining methods with the same name but different parameter lists.
- [Method Parameter](https://www.ask-codey.com/glossary/method-parameter): A named input declared by a method.
- [Multidimensional Array](https://www.ask-codey.com/glossary/multidimensional-array): An array whose elements are themselves arrays.
- [Nested Loop](https://www.ask-codey.com/glossary/nested-loop-java): A loop placed inside another loop.
- [Package](https://www.ask-codey.com/glossary/package-java): A named group used to organize related Java types and avoid naming conflicts.
- [Random Number](https://www.ask-codey.com/glossary/random-number): A value selected by a generator so its next result is difficult to predict casually.
- [Recursion](https://www.ask-codey.com/glossary/recursion-java): A technique in which a method calls itself with a smaller version of the problem.
- [Return Type](https://www.ask-codey.com/glossary/return-type): The type of value a method promises to return.
- [Return Value](https://www.ask-codey.com/glossary/return-value-java): The result a method sends back to its caller.
- [Scanner](https://www.ask-codey.com/glossary/scanner): A standard-library class commonly used to read typed input.
- [Scope](https://www.ask-codey.com/glossary/scope-java): The part of a program where a name can be used.
- [Standard Input](https://www.ask-codey.com/glossary/standard-input): The input stream a program normally reads from the keyboard or its launching process.
- [Static Variable](https://www.ask-codey.com/glossary/static-variable): A field shared by every object of a class.
- [String Concatenation](https://www.ask-codey.com/glossary/string-concatenation-java): Joining strings end to end, commonly with the + operator.
- [String Immutability](https://www.ask-codey.com/glossary/string-immutability): The rule that a String's character sequence cannot change after the object is created.
- [String Index](https://www.ask-codey.com/glossary/string-index): A zero-based position used to locate a character in a String.
- [String Interpolation](https://www.ask-codey.com/glossary/string-interpolation): Inserting values into text; Java normally uses formatting methods rather than interpolated string literals.
- [String Length](https://www.ask-codey.com/glossary/string-length): The number of UTF-16 code units in a String.
- [StringBuilder](https://www.ask-codey.com/glossary/stringbuilder): A class for efficiently building or changing a sequence of characters.
- [substring()](https://www.ask-codey.com/glossary/substring): A String method that returns part of an existing string.
- [Ternary Operator](https://www.ask-codey.com/glossary/ternary-operator): The ?: operator, which chooses one of two values from a condition.
- [Ternary Operator](https://www.ask-codey.com/glossary/ternary-operator-java): A single line if/else statement.
- [Text Block](https://www.ask-codey.com/glossary/text-block): A multiline string literal enclosed by three double quotes.
- [var](https://www.ask-codey.com/glossary/var): A reserved type name that asks the compiler to infer a local variable's type.
- [void](https://www.ask-codey.com/glossary/void): A return type showing that a method returns no value.
- [while Loop](https://www.ask-codey.com/glossary/while-loop-java): A loop that repeats while its condition remains true.

- Previous level: [Novice](https://www.ask-codey.com/glossary/subjects/java/novice)
- Next level: [Journeyman](https://www.ask-codey.com/glossary/subjects/java/journeyman)

[Every Java term, by level](https://www.ask-codey.com/glossary/subjects/java)

Source: https://www.ask-codey.com/glossary/subjects/java/apprentice
