Lecture Review on Inheritance, Abstract Classes, and Exception Handling

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

1/19

flashcard set

Earn XP

Description and Tags

A collection of vocabulary flashcards based on key concepts of inheritance, abstract classes, and exception handling discussed in the lecture.

Last updated 9:09 PM on 4/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Inheritance

A mechanism in object-oriented programming where a new class derives properties and behaviors from an existing class.

2
New cards

Abstract Class

A class that cannot be instantiated and may contain abstract methods that must be implemented by derived classes.

3
New cards

Polymorphism

The ability of different classes to be treated as instances of the same class through a common interface.

4
New cards

Exception Handling

A programming construct to handle errors and exceptional conditions in a controlled way.

5
New cards

Method Overriding

A feature in object-oriented programming where a derived class provides a specific implementation of a method already defined in its base class.

6
New cards

Casting

The process of converting a variable from one type to another.

7
New cards

Upcasting

The conversion of a subclass reference to a superclass reference.

8
New cards

Downcasting

The conversion of a superclass reference back to a subclass reference.

9
New cards

Interface

A reference type in Java that can contain only constants, method signatures, default methods, static methods, and nested types.

10
New cards

Compilation Error

An error that occurs when a program cannot be compiled successfully, typically due to syntax or type problems.

11
New cards

Overridden Method

A method in a subclass that has the same signature as a method in its parent class, replacing the parent's implementation.

12
New cards

Public Access Modifier

A visibility modifier that allows members to be accessible from any other class.

13
New cards

Protected Access Modifier

A visibility modifier that allows members to be accessible only within the same package and by subclasses.

14
New cards

Private Access Modifier

A visibility modifier that restricts access to members, making them accessible only within their own class.

15
New cards

Exception Class

A class that represents an error or exceptional condition that can occur during the execution of a program.

16
New cards

Catch Block

A block of code in exception handling that defines what to do when a specific exception is thrown.

17
New cards

Finally Block

A block of code that executes after a try-catch block, regardless of whether an exception was thrown or not.

18
New cards

Method Signature

The combination of a method's name and its parameter list, which identifies the method uniquely.

19
New cards

Reference Type

The type of variable that refers to the memory address of an object, rather than containing the object's data directly.

20
New cards

Null Pointer Exception

An exception that occurs when an application attempts to use an object reference that has the null value.