Java Programming Fundamentals: IS 247 Review

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/46

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering Java basics, exception handling, file I/O streams, inheritance, and object-oriented programming concepts based on lecture materials.

Last updated 1:44 PM on 9/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

47 Terms

1
New cards

Java Identifier

A sequence of characters consisting of letters, digits, underscores (_), and dollar signs ($) that must start with a letter, underscore, or dollar sign, cannot start with a digit, and cannot be a reserved word, true, false, or null.

2
New cards

Primitive Variable

A variable type in Java that directly stores the actual value assigned to it in memory rather than referencing an object.

3
New cards

Reference Variable

A variable that stores the memory address pointing to an object's location in memory rather than storing the object itself.

4
New cards

int Data Type

A 32-bit32\text{-bit} primitive data type that serves as the default integer choice in Java.

5
New cards

double Data Type

A 64-bit64\text{-bit} primitive data type that serves as the default decimal choice in Java.

6
New cards

Augmented Assignment Operator

An operator (such as +=, -=, *=, /=, or %=) that combines an arithmetic operation with assignment into a shorter expression.

7
New cards

while Loop

A pretest loop control structure that evaluates a boolean condition first and executes its loop body zero or more times while the condition remains true.

8
New cards

do-while Loop

A post-test loop control structure that executes its loop body at least once before testing the continuation condition.

9
New cards

for Loop

A compact pretest loop control structure best used when a clear counting variable or fixed iteration pattern is known.

10
New cards

Formal Parameters

Placeholder variables defined in a method header that receive values when the method is called.

11
New cards

Actual Parameters / Arguments

The specific values or expressions passed into a method during a method invocation.

12
New cards

Method Overloading

Defining multiple methods within the same class that share the exact same method name but have different parameter lists.

13
New cards

String Immutability

The property of Java String objects stating that their contents cannot be modified in place after creation; methods that modify text always return a new String object.

14
New cards

Java Array

A fixed-size, zero-indexed reference object used to store multiple elements of the same data type.

15
New cards

File Class (java.io.File)

A wrapper class that provides abstraction for file and directory pathnames, but does not provide direct methods for reading or writing file data.

16
New cards

Character / Text I/O

Java I/O operations and classes (such as Scanner, PrintWriter, FileReader, and FileWriter) designed for handling human-readable text characters.

17
New cards

Byte / Binary I/O

Java I/O operations and classes (such as FileInputStream, DataInputStream, FileOutputStream, and DataOutputStream) designed for processing raw bytes and binary representations.

18
New cards

PrintWriter

A class used to write formatted character data to a file using screen-style methods such as print(), println(), and printf().

19
New cards

RandomAccessFile

A Java class supporting non-sequential file access that allows jumping directly to any byte position using seek().

20
New cards

Object Serialization

The process of converting an object into a sequence of bytes so that its state can be saved to a file and reconstructed later.

21
New cards

Marker Interface

An interface containing no methods or fields (such as java.io.Serializable) used solely to signal compiler capability or authorization for implementing classes.

22
New cards

Exception

An object generated as the result of an error or unexpected event during program execution that alters normal instruction execution.

23
New cards

try-catch Block

An exception handling statement where potentially error-producing code runs in a try block and handler code runs in a catch block if an exception occurs.

24
New cards

finally Block

A block appended to a try-catch statement whose statements execute regardless of whether an exception is thrown or caught.

25
New cards

Checked Exception

An exception class not derived from Error or RuntimeException that Java forces a method to either handle with a try-catch block or declare in its header using a throws clause.

26
New cards

Unchecked Exception

An exception derived from Error or RuntimeException that represents severe error conditions or programming logic errors and is not required to be handled or declared.

27
New cards

throw Keyword

A Java statement keyword used inside a method body to explicitly create and instantiate an exception object.

28
New cards

throws Clause

A keyword clause in a method header listing the checked exceptions that the method might propagate to its caller.

29
New cards

Inheritance

An object-oriented programming feature enabling a specialized subclass to acquire fields and methods from a general superclass using the extends keyword.

30
New cards

super Keyword

A reference keyword in a subclass used to call the superclass constructor or invoke an overridden superclass method.

31
New cards

Method Overriding

Defining a method in a subclass with the exact same name and parameter signature as a method in its superclass to replace its behavior.

32
New cards

Protected Access Specifier

A class member modifier granting access to methods within the same class, subclasses, and classes in the same package.

33
New cards

Object Class

The root superclass located in java.lang from which every class in Java directly or indirectly derives.

34
New cards

Polymorphism

The ability of a reference variable of a superclass or interface type to refer to objects of its various subclasses or implementing classes.

35
New cards

Dynamic Binding

The runtime process where the JVM determines which overridden method to execute based on the actual object type rather than the reference variable type.

36
New cards

Abstract Class

A class declared with the abstract keyword that cannot be instantiated and serves as a generic base superclass.

37
New cards

Abstract Method

A method declared with a header, the abstract keyword, and a semicolon instead of a body, requiring non-abstract subclasses to override it.

38
New cards

Java Interface

A class-like structure containing abstract method headers and constant fields (public static final) that establishes a behavioral contract using the implements keyword.

39
New cards

Class

A user-defined blueprint or template that defines the fields (state) and methods (behavior) common to all created instances.

40
New cards

Encapsulation

Wrapping data fields and functions into a single structure while making fields private and routing access through public getters and setters.

41
New cards

UML Class Diagram Structure

A three-compartment visual structure diagram displaying Class Name, Attributes/Variables, and Operations/Methods.

<p>A three-compartment visual structure diagram displaying Class Name, Attributes/Variables, and Operations/Methods.</p>
42
New cards

Constructor

A special class member sharing the class name with no return type that executes automatically when an object is instantiated using new.

43
New cards

this Keyword

An implicit reference variable inside an instance method or constructor pointing to the calling object itself.

44
New cards

Static Member

A field or method declared with static that belongs to the class as a whole and is shared among all instances.

45
New cards

OOP Core Concepts

The foundational principles of Object-Oriented Programming comprising Abstraction, Encapsulation, Inheritance, Polymorphism, Class, and Object.

<p>The foundational principles of Object-Oriented Programming comprising Abstraction, Encapsulation, Inheritance, Polymorphism, Class, and Object.</p>
46
New cards

Checked vs. Unchecked Exception Hierarchy

The inheritance hierarchy under Throwable distinguishing Exception branches into checked exceptions vs RuntimeException and Error branches representing unchecked exceptions.

<p>The inheritance hierarchy under Throwable distinguishing Exception branches into checked exceptions vs RuntimeException and Error branches representing unchecked exceptions.</p>
47
New cards
<p>Interface Implementation in UML</p>

Interface Implementation in UML

UML class notation where interface implementation is represented by a dashed arrow pointing from the implementing class to the interface name.