Java for Absolute Beginners – Vocabulary Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/46

flashcard set

Earn XP

Description and Tags

A concise set of vocabulary flashcards covering fundamental Java concepts and terminology introduced in the lecture/book "Java for Fucking Idiots."

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

47 Terms

1
New cards

Java

A high-level, object-oriented programming language that compiles to bytecode and runs on the Java Virtual Machine.

2
New cards

Programming Language

A human-readable set of rules and syntax used to write instructions that computers can execute after compilation or interpretation.

3
New cards

Source Code

The human-written text of a program before it is compiled.

4
New cards

Compiler

A tool that translates source code into another form (e.g., bytecode or machine code) so a computer can run it.

5
New cards

Bytecode

The platform-independent instructions produced by the Java compiler; executed by the JVM.

6
New cards

Java Virtual Machine (JVM)

Software that runs bytecode and translates it into machine instructions for the host CPU, enabling “write once, run anywhere.”

7
New cards

Java Development Kit (JDK)

Oracle’s bundle that includes the compiler, JVM, standard library, and other developer tools.

8
New cards

Class

A blueprint that defines the properties and methods of objects created from it.

9
New cards

Object (Instance)

A specific realization of a class, with its own data and the ability to execute the class’s methods.

10
New cards

Property (Field)

A variable declared inside a class that stores data describing each object’s state.

11
New cards

Method

A block of code in a class that performs actions or computes and returns values; the verbs of an object.

12
New cards

Constructor

A special method that runs when an object is created and initializes its state.

13
New cards

Static

A keyword marking members that belong to the class itself rather than to any object instance.

14
New cards

Variable

A named storage location that holds a value which can change during program execution.

15
New cards

Primitive Data Type

Built-in, non-object value types such as byte, short, int, long, float, double, char, and boolean.

16
New cards

String

An object representing a sequence of characters; immutable and rich with helper methods.

17
New cards

Array

A fixed-size, ordered collection of elements of the same type, accessed by index.

18
New cards

Index

The zero-based position number used to access an element inside an array.

19
New cards

Loop

A control structure that repeatedly executes a block of code while a condition remains true.

20
New cards

While Loop

A loop that tests its condition before each iteration and continues while the condition is true.

21
New cards

For Loop

A loop that combines initialization, condition check, and iteration step in one line; ideal for stepping through arrays.

22
New cards

Enhanced For Loop

A simplified ‘for-each’ loop that iterates over every element in a collection without manual indexing.

23
New cards

If Statement (Conditional)

A control structure that executes code only when a specified boolean expression evaluates to true.

24
New cards

Operator

A symbol (e.g., +, -, *, /, &&, ||, ==) that performs arithmetic, logical, or relational operations on values.

25
New cards

Assignment Operator (=)

Sets the variable on the left to the value produced on the right.

26
New cards

Comparison Operator (==, !=,

Checks relationships between two values and returns a boolean result.

27
New cards

Logical Operators (&&, ||, !)

Combine or negate boolean expressions: AND, OR, and NOT.

28
New cards

Modulo Operator (%)

Returns the remainder of integer division; useful for tasks like checking even/odd numbers.

29
New cards

Concatenation

Joining strings (or strings with other values) using the + operator to form a single string.

30
New cards

String Immutability

Property whereby operations on a String produce new String objects instead of altering the original.

31
New cards

main Method

The entry point of every Java application: public static void main(String[] args).

32
New cards

Parameter

A variable in a method or constructor declaration that receives a value when the method is called.

33
New cards

Argument

The actual value passed to a method or constructor to satisfy a parameter.

34
New cards

Return Type

The data type of the value a method provides back to its caller; void indicates no return value.

35
New cards

Null

A special literal representing the absence of any object reference.

36
New cards

NullPointerException

A runtime error thrown when code tries to use a null reference as if it pointed to an object.

37
New cards

Overloading

Defining multiple constructors or methods in the same class with the same name but different parameter lists.

38
New cards

Access Modifiers

Keywords controlling visibility: public, protected, (package-private), and private.

39
New cards

Package

A namespace and matching folder structure used to group related classes and avoid naming collisions.

40
New cards

Import Statement

A line that brings a class or package into scope so it can be referenced without its full package name.

41
New cards

Break Statement

Exits the nearest loop or switch immediately.

42
New cards

Continue Statement

Skips the rest of the current loop iteration and proceeds to the next one.

43
New cards

Abstraction

Design principle of exposing only necessary details while hiding internal complexity.

44
New cards

Encapsulation

Restricting direct access to an object’s internal data by using access modifiers and public methods.

45
New cards

Inheritance

Creating a new class that acquires the properties and methods of an existing class (extends).

46
New cards

Polymorphism

The ability to treat objects of different subclasses through a common parent type, with the correct overridden methods executing at runtime.

47
New cards

Constructor Overloading

Providing multiple constructors with different parameter lists to create objects in varied ways.