Introduction to Classes

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

1/19

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards summarizing key terms and concepts related to classes and object-oriented programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

Procedural Programming

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

2
New cards

Object-Oriented Programming

Based on the data and the functions that operate on it.

3
New cards

Class

A blueprint for creating objects; contains declarations of variables and functions.

4
New cards

Object

An instance of a class.

5
New cards

Data Hiding

Restricting access to certain members of an object.

6
New cards

Public Interface

Members of an object that are available outside of the object.

7
New cards

Const Member Function

A member function that does not change any data in the calling object.

8
New cards

Accessors

Functions that retrieve values from private member variables without changing the data.

9
New cards

Mutators

Member functions that store or change values in private member variables.

10
New cards

Constructor

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

11
New cards

Destructor

A member function automatically called when an object is destroyed.

12
New cards

Default Constructor

A constructor that takes no arguments.

13
New cards

Overloading Constructors

Having more than one constructor in a class with different parameter lists.

14
New cards

Inline Member Functions

Functions defined inside a class declaration for short function bodies.

15
New cards

Pointer to an Object

A pointer that can define and access public members of an object.

16
New cards

Arrays of Objects

Objects as elements of an array, utilizing default constructors.

17
New cards

UML (Unified Modeling Language)

A set of standard diagrams for graphically depicting object-oriented systems.

18
New cards

Attributes

Members of a class.

19
New cards

Methods or Behaviors

Member functions of a class.

20
New cards

Access Specifiers

Control access to members of the class, e.g. public or private.