Java flash cards: Novice level

42 Java terms at the Novice level, as flash cards.

Updated

Terms in this deck

.java File Extension
The filename ending used for a Java source file.
Arithmetic Operators
Symbols such as +, -, *, /, and % that perform calculations.
Assignment
Storing a value in a variable with the = operator.
Block Comment
A comment enclosed by /* and */ that can cover several lines.
boolean
A primitive type whose only values are true and false.
char
A primitive type that stores one UTF-16 code unit.
Class
A blueprint that describes the data and behavior of objects.
Comment
Text for people reading the code that the compiler ignores.
Comparison Operators
Operators that compare two values and produce true or false.
Compilation
The step that checks Java source code and converts it into bytecode.
Compile Error
A problem that prevents Java source code from being compiled.
Compiler (javac)
The JDK tool that turns Java source code into bytecode.
Curly Braces
The { and } characters that surround a class, method, or other block.
Data Type
A rule describing what kind of value something can hold and what operations it supports.
Declaration
A statement that introduces a variable, method, class, or other named item.
double
A primitive type for numbers that can include a fractional part.
else if Statement
An additional condition tested when earlier if conditions were false.
if Statement
A statement that runs code only when its condition is true.
Increment Operator
The ++ operator, which adds one to a numeric variable.
Initialization
Giving a variable its first value when it is created.
int
A primitive type for whole numbers within a fixed range.
Java
A widely used programming language that runs on many kinds of computers through the Java Virtual Machine.
Java Development Kit (JDK)
The tools needed to write, compile, and run Java programs.
Java Runtime Environment (JRE)
The software needed to run Java programs, including the JVM and standard libraries.
Java Virtual Machine (JVM)
The engine that runs compiled Java bytecode on a particular computer.
Javadoc Comment
A structured comment used to generate documentation for Java code.
Literal
A value written directly in source code, such as 42, true, or "hello".
Logical Operators
Operators that combine or reverse boolean conditions.
main Method
The usual starting point of a Java application.
Method
A named block of code that performs an action and can return a value.
Narrowing Conversion
An explicit numeric conversion that may lose range or precision.
Primitive Type
One of Java's basic value types, such as int, double, char, or boolean.
Runtime Error
A problem that occurs while a compiled program is running.
Semicolon
The punctuation mark that ends most Java statements.
Single-Line Comment
A comment beginning with // and continuing to the end of the line.
Source File
A text file containing Java code for the compiler to read.
String
An object that stores an unchangeable sequence of characters.
switch Statement
A statement that selects a code path by matching one value against cases.
System.out.println()
A method that prints a value followed by a new line.
Type Casting
Explicitly converting a value to another compatible type.
Variable
A named place that stores a value a program can use or change.
Widening Conversion
An automatic numeric conversion to a type that can represent a wider range of values.

Read them in the glossary