Objects and Class in Programming

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary and concepts related to objects and classes in programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Object

An instance of a class that represents a real-world entity.

2
New cards

Class

A blueprint for creating objects, defining their properties and behaviors.

3
New cards

Properties

Attributes that hold data specific to an object in a class.

4
New cards

Methods

Functions defined in a class that describe the behaviors of an object.

5
New cards

Instantiation

The process of creating an object from a class.

6
New cards

Constructor

A special method used to initialize an object's attributes when it is created.

7
New cards

Self

A reference to the current instance of a class, used to access its attributes and methods.

8
New cards

Attributes

Characteristics of an object, sometimes referred to as properties.

9
New cards

Encapsulation

The bundling of data and methods that operate on that data within one unit (class).

10
New cards

Inheritance

A mechanism where a new class can inherit attributes and methods from an existing class.

11
New cards

Polymorphism

The ability for different classes to be treated as instances of the same class through a common interface.

12
New cards

Data Abstraction

Process of hiding the complex reality while exposing only the necessary parts of an object.

13
New cards

Instance Attribute

An attribute that is specific to a particular object of a class.

14
New cards

Class Attribute

A property shared among all instances of a class.

15
New cards

Accessor methods

Methods used to retrieve the value of an object's attributes.

16
New cards

Mutator methods

Methods used to change the value of an object's attributes.