Untitled Flashcard Set

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

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

17 Terms

1
New cards

Object-Oriented Programming (OOP)

A programming approach that organizes software around objects that combine related data and behavior.

2
New cards

Class

A blueprint or template defining the attributes and methods that its objects can have.

3
New cards

Object

A specific instance created from a class.

4
New cards

Instance

Another word for an object created from a class.

5
New cards

Attribute

Data associated with an object.

6
New cards

Method

A function defined inside a class that describes behavior.

7
New cards

self

A reference to the particular instance on which a method is operating.

8
New cards

Constructor

A method that initializes an object when it is created, typically __init__() in Python.

9
New cards

Encapsulation

The organization of related data and behavior together, providing a defined way to interact with them.

10
New cards

Dot operator

The syntax used to access an object's attributes and methods.

11
New cards

Object lifecycle

Describes the creation, use, and eventual destruction of an object.

12
New cards

Instantiation

The process of creating an instance from a class.

13
New cards

Inheritance

A mechanism allowing one class to derive behavior or attributes from another class.

14
New cards

Composition

Building more complex objects using other objects as components.

15
New cards

Object state

The values of an object's attributes at a particular time.

16
New cards

Interface

The set of operations an object makes available to other code.

17
New cards

Instance attribute

Data belonging to an individual object.