Java Vocab Comp 167

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

1/93

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

94 Terms

1
New cards

abstract class

A class that can't be instantiated and may contain abstract methods.

2
New cards

abstraction

Hiding complex details to show only essentials.

3
New cards

abstract method

A method with no body, defined in an abstract class or interface.

4
New cards

accessor/getter

A method that returns the value of a private field.

5
New cards

actual parameter

The real value passed to a method.

6
New cards

aggregation

A "has-a" relationship between classes.

7
New cards

AnimationTimer

JavaFX class for creating real-time animations.

8
New cards

Application

The base JavaFX class to start GUI apps.

9
New cards

ArrayList

A resizable array in Java’s collections framework.

10
New cards

array

A fixed-size, ordered collection of elements.

11
New cards

binary

Base-2 number system (0 and 1).

12
New cards

block

A group of code enclosed in braces {}.

13
New cards

BorderPane

JavaFX layout with five regions (top, bottom, etc.).

14
New cards

Button

JavaFX UI component users can click.

15
New cards

Byte code

Code compiled from Java and run by the JVM.

16
New cards

catch block

Catches and handles exceptions in try-catch.

17
New cards

checked exception

An exception that must be handled or declared.

18
New cards

class

A blueprint for creating objects.

19
New cards

class contract

Expected behavior of a class, including methods and rules.

20
New cards

Code memory

Memory storing bytecode used by the JVM.

21
New cards

Color

JavaFX class to define colors.

22
New cards

command-line arguments

Inputs passed to main() via terminal.

23
New cards

Comparable

Interface for comparing objects (e.g., compareTo).

24
New cards

concrete class

A fully implemented class that can be instantiated.

25
New cards

constructor

Initializes a new object.

26
New cards

constructor chaining

One constructor calls another in the same class.

27
New cards

deep copy

A full copy of an object and its fields.

28
New cards

default

A keyword for default cases in switch, or default interface methods.

29
New cards

dynamic binding

Method call resolved at runtime.

30
New cards

equals

Method to check object content equality.

31
New cards

encapsulation

Restricting direct access to fields (using private).

32
New cards

event-driven programming

Code reacts to user actions (like clicks).

33
New cards

Exception

A problem that interrupts normal program flow.

34
New cards

explicit casting

Forcing a conversion between types.

35
New cards

finally clause

Always runs after try or catch.

36
New cards

FlowPane

JavaFX layout placing nodes in a flow (left to right).

37
New cards

for loop

A loop with init, condition, and update in one line.

38
New cards

garbage collection

Automatic memory cleanup in Java.

39
New cards

GridPane

JavaFX layout that arranges nodes in a grid.

40
New cards

HBox

JavaFX layout that arranges nodes horizontally.

41
New cards

immutable

Unchangeable object once created.

42
New cards

implicit casting

Automatic type conversion.

43
New cards

inheritance

One class gains the properties of another.

44
New cards

Insertion sort

Sorting by inserting elements into correct position.

45
New cards

instance

A single object of a class.

46
New cards

interface

A collection of abstract methods a class can implement.

47
New cards

interning

Reusing instances, especially with strings.

48
New cards

JavaFX

Java's library for building GUI apps.

49
New cards

JVM

Java Virtual Machine that runs bytecode.

50
New cards

lambda expression

Concise syntax for writing anonymous methods.

51
New cards

layout

Arranges UI components in JavaFX.

52
New cards

linear

Step-by-step progression, often in search or structure.

53
New cards

linked list

List of nodes connected by pointers.

54
New cards

MouseListener

Listens for mouse events.

55
New cards

MouseMotionListener

Listens for mouse movement.

56
New cards

mutator/setter

A method that updates a private field.

57
New cards

no-arg

A method or constructor that takes no parameters.

58
New cards

null

Represents a non-existent or uninitialized object.

59
New cards

Object

The base class of all Java classes.

60
New cards

overloading

Same method name, different parameters.

61
New cards

overriding

Replacing a superclass method in a subclass.

62
New cards

package

Groups related classes and interfaces.

63
New cards

pass-by-reference

Passing object references to methods.

64
New cards

pass-by-value

Passing a copy of a value to methods (Java uses this for primitives).

65
New cards

polymorphism

One interface, many implementations.

66
New cards

primitive

Basic data types like int, double, char.

67
New cards

procedural programming

Programming with procedures/functions.

68
New cards

private

Accessible only within the class.

69
New cards

properties

JavaFX object attributes with change listeners.

70
New cards

protected

Accessible in class, package, and subclasses.

71
New cards

public

Accessible from anywhere.

72
New cards

reference

A pointer to an object.

73
New cards

runtime heap

Memory for objects created during runtime.

74
New cards

runtime stack

Stores method calls and local variables.

75
New cards

Scene

JavaFX container for visual content.

76
New cards

scope

Where a variable can be accessed.

77
New cards

Selection sort

Sorting by repeatedly selecting the smallest element.

78
New cards

Shallow copy

Copies object reference, not actual data.

79
New cards

StackPane

JavaFX layout that stacks children on top of each other.

80
New cards

Stage

JavaFX top-level window.

81
New cards

start()

JavaFX method called to start the application.

82
New cards

static

Belongs to the class, not an instance.

83
New cards

StringBuffer

Mutable string class (thread-safe).

84
New cards

StringBuilder

Mutable string class (not thread-safe).

85
New cards

stub

A placeholder method or class.

86
New cards

super()

Calls parent class’s constructor.

87
New cards

Swing

Older Java GUI framework before JavaFX.

88
New cards

this()

Calls another constructor in the same class.

89
New cards

throws clause

Declares checked exceptions a method might throw.

90
New cards

try block

Code to try for exceptions.

91
New cards

UML

Unified Modeling Language; used for class diagrams.

92
New cards

VBox

JavaFX layout that arranges nodes vertically.

93
New cards

Wrapper

Object versions of primitive types.

94
New cards

==

Checks if two references point to the same object.