Polymorphism

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

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:02 AM on 7/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

Polymorphism

Polymorphism is the object-oriented principle that allows objects of different types to be treated through a common type while each object provides its own behavior.

2
New cards

Common Interface

A common interface is a shared contract that allows multiple object types to be used in a consistent way.

3
New cards

Dynamic Dispatch

Dynamic dispatch is the process of selecting the correct method implementation at runtime based on the actual type of an object.

4
New cards

Runtime Polymorphism

Runtime polymorphism is polymorphism in which the method that executes is determined while the program is running.

5
New cards

Compile-Time Polymorphism

Compile-time polymorphism is polymorphism that is resolved by the compiler, typically through method overloading.

6
New cards

Method Overloading

Method overloading is the practice of defining multiple methods with the same name but different parameter lists.

7
New cards

Method Overriding

Method overriding is the practice of providing a new implementation of an inherited method in a derived class.

8
New cards

Virtual Method

A virtual method is a method in a base class that can be overridden by derived classes.

9
New cards

Override Method

An override method is a method in a derived class that replaces the implementation of a virtual or abstract method from its base class.

10
New cards

Base Method Invocation

Base method invocation is the act of calling a base class implementation from an overriding method by using the base keyword.

11
New cards

Substitutability

Substitutability is the ability to use an object of a derived type wherever an object of its base type is expected.

12
New cards

Polymorphic Reference

A polymorphic reference is a variable whose declared type is a base class or interface but whose actual object is a derived type.

13
New cards

Actual Type

The actual type is the real type of the object that exists in memory during program execution.

14
New cards

Declared Type

The declared type is the type specified when a variable, parameter, or field is declared.

15
New cards

Late Binding

Late binding is the process of determining which overridden method to execute at runtime.

16
New cards

Early Binding

Early binding is the process of resolving a method call during compilation.

17
New cards

Polymorphic Behavior

Polymorphic behavior is the ability of different objects to respond differently to the same method call.

18
New cards

Liskov Substitution Principle (LSP)

The Liskov Substitution Principle (LSP) states that objects of a derived class should be usable anywhere objects of the base class are expected without altering the correctness of the program.

19
New cards

Interface-Based Polymorphism

Interface-based polymorphism is polymorphism achieved by programming against an interface instead of a specific class.

20
New cards

Extensibility

Extensibility is the ability to add new types or behaviors to a system with little or no modification to existing code, often through polymorphism.