Inheritance in Object-Oriented Programming

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

1/10

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary related to inheritance in object-oriented programming as discussed in the lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

Inheritance

A feature of object-oriented programming that allows a new class to inherit properties and methods from an existing class.

2
New cards

Superclass

The class whose properties and methods are inherited by another class.

3
New cards

Subclass

The class that inherits properties and methods from a superclass.

4
New cards

Derived Class

Another term for a subclass, which is based on the superclass.

5
New cards

Access Control

Rules that define the accessibility of classes, methods, and properties in object-oriented programming.

6
New cards

Public Access

Members declared public can be accessed from any code in the program.

7
New cards

Private Access

Members declared private can only be accessed within the same class.

8
New cards

Protected Access

Members declared protected can be accessed within the class and by derived classes.

9
New cards

Method Overriding

The ability of a derived class to provide a specific implementation of a method that is already defined in its superclass.

10
New cards

Constructor

A special method used to initialize objects of a class.

11
New cards

Composition

A design principle in programming where a class is composed of one or more objects of other classes.