Introduction to Classes

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

1/14

flashcard set

Earn XP

Description and Tags

Flashcards to review key vocabulary terms and concepts related to classes and object-oriented programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

Procedural Programming

Focuses on the process/actions that occur in a program.

2
New cards

Object-Oriented Programming (OOP)

Based on the data and the functions that operate on it, using objects as instances of Abstract Data Types (ADTs).

3
New cards

Class

A blueprint that defines the structure and behaviors of objects in programming.

4
New cards

Object

An instance of a class.

5
New cards

Data Hiding

Restricting access to certain members of an object to protect data.

6
New cards

Attributes

Members of a class that hold data.

7
New cards

Methods

Member functions of a class that define behavior.

8
New cards

Access Specifiers

Keywords that set the accessibility of classes and class members. They include public and private.

9
New cards

Mutator Method

A member function that changes the value of a private member variable.

10
New cards

Accessor Method

A function that retrieves a value from a private member variable and does not change data.

11
New cards

Constructor

A special member function that is called automatically when an object is created.

12
New cards

Destructor

A member function called automatically when an object is destroyed.

13
New cards

Inline Function

A member function that is defined directly within the class definition.

14
New cards

Default Constructor

A constructor that takes no arguments.

15
New cards

Overloaded Constructor

Multiple constructors in a class with different parameter lists.