Topic D OOP

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

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Object-Oriented Programming (OOP)

A programming paradigm that uses 'objects' to design applications and computer programs.

2
New cards

Class

A blueprint for creating objects, defining initial states and behaviors.

3
New cards

Object

An instance of a class containing data and methods.

4
New cards

Encapsulation

The bundling of data with the methods that operate on that data.

5
New cards

Inheritance

A mechanism where one class can inherit properties and methods from another class.

6
New cards

Polymorphism

The ability to present the same interface for different underlying data types.

7
New cards

Method Overriding

Re-defining a method in a subclass that already exists in the parent class.

8
New cards

Constructor

A special method used to initialize objects.

9
New cards

Destructor

A method that is called when an object is destroyed.

10
New cards

Abstraction

The concept of hiding the complex reality while exposing only the necessary parts.

11
New cards

Interface

A contract that a class can implement, defining methods that must be created.

12
New cards

Instantiation

The process of creating a new instance of a class.

13
New cards

Access Modifier

Keywords that set the accessibility of classes, methods, and other members.

14
New cards

Aggregation

A 'has-a' relationship where a class can contain references to objects of other classes.

15
New cards

Composition

A stronger form of aggregation where the contained object cannot exist independently.

16
New cards

Static Method

A method that belongs to the class rather than instances of the class.