Object-Oriented Programming

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

1/4

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.

5 Terms

1
New cards

Object-Oriented Programming (OOP)

A method of structuring a program by bundling related properties and behaviors into individual objects. It models real-world entities as software objects that have some data associated with them and can perform certain operations.

2
New cards

class Keyword

Like an object constructor. A “blueprint” for creating objects.

3
New cards

The — init — function

Present in all classes and executed when class is initiated. Used to assign values to the properties of an object or other operations needed in the creation of an object.

4
New cards

self Parameter

Reference to the current instance of the class and the first parameter of any function in the class.

5
New cards

Methods

Functions that belong to the object and called by the object’s name. Operates the data in a class.