Java Interlude 7: Inheritance and Polymorphism

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

1/9

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts related to inheritance and polymorphism in Java, focusing on their definitions and characteristics.

Last updated 10:52 PM on 3/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

Inheritance

A mechanism in object-oriented programming that allows one class to inherit the properties and methods of another class.

2
New cards

Polymorphism

The ability of different classes to be treated as instances of the same class through a common interface, enabling one method to act differently based on the object that invokes it.

3
New cards

Abstract Class

A class that cannot be instantiated and is meant to be subclassed; it may contain abstract methods that must be implemented by derived classes.

4
New cards

Access Modifiers

Keywords in Java that set the visibility of classes, methods, and variables; the common ones are public, private, protected, and package-private.

5
New cards

Dynamic Type

The actual type of the object that is referenced by a variable at runtime, determining which method version is called.

6
New cards

Protected Access

An access modifier that allows methods and data fields to be accessed within the same package and by subclasses, but not by other classes.

7
New cards

Final Class

A class that cannot be subclassed; it is declared using the final keyword and prevents inheritance.

8
New cards

Abstract Method

A method that is declared without an implementation in its abstract class and must be implemented in any subclass.

9
New cards

Interface

A reference type in Java that can contain only constants, method signatures, default methods, static methods, and nested types; classes implement interfaces to specify their behaviors.

10
New cards

Stack Interface

An interface defining the operations of a stack data structure, including methods for push, pop, and peek.

Explore top notes

note
Chapter 13: Acids and Bases
Updated 1090d ago
0.0(0)
note
Rocks
Updated 1040d ago
0.0(0)
note
Synaptic Transfer
Updated 1318d ago
0.0(0)
note
Property Recap
Updated 699d ago
0.0(0)
note
BI206L Lab Exam #2 Study Guide
Updated 592d ago
0.0(0)
note
Chapter 13: Acids and Bases
Updated 1090d ago
0.0(0)
note
Rocks
Updated 1040d ago
0.0(0)
note
Synaptic Transfer
Updated 1318d ago
0.0(0)
note
Property Recap
Updated 699d ago
0.0(0)
note
BI206L Lab Exam #2 Study Guide
Updated 592d ago
0.0(0)

Explore top flashcards

flashcards
Unit 4 vocabulary
55
Updated 1155d ago
0.0(0)
flashcards
NUR-111: Unit 1
90
Updated 440d ago
0.0(0)
flashcards
LOTF Vocabulary List #2
20
Updated 154d ago
0.0(0)
flashcards
Biosci 221 Exam 3
68
Updated 1064d ago
0.0(0)
flashcards
Wijsbegeerte begrippen deel III
40
Updated 823d ago
0.0(0)
flashcards
biology review: test 1
67
Updated 951d ago
0.0(0)
flashcards
William Billiam exam 4
22
Updated 206d ago
0.0(0)
flashcards
Unit 4 vocabulary
55
Updated 1155d ago
0.0(0)
flashcards
NUR-111: Unit 1
90
Updated 440d ago
0.0(0)
flashcards
LOTF Vocabulary List #2
20
Updated 154d ago
0.0(0)
flashcards
Biosci 221 Exam 3
68
Updated 1064d ago
0.0(0)
flashcards
Wijsbegeerte begrippen deel III
40
Updated 823d ago
0.0(0)
flashcards
biology review: test 1
67
Updated 951d ago
0.0(0)
flashcards
William Billiam exam 4
22
Updated 206d ago
0.0(0)