1/14
Flashcards to review key vocabulary terms and concepts related to classes and object-oriented programming.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Procedural Programming
Focuses on the process/actions that occur in a program.
Object-Oriented Programming (OOP)
Based on the data and the functions that operate on it, using objects as instances of Abstract Data Types (ADTs).
Class
A blueprint that defines the structure and behaviors of objects in programming.
Object
An instance of a class.
Data Hiding
Restricting access to certain members of an object to protect data.
Attributes
Members of a class that hold data.
Methods
Member functions of a class that define behavior.
Access Specifiers
Keywords that set the accessibility of classes and class members. They include public and private.
Mutator Method
A member function that changes the value of a private member variable.
Accessor Method
A function that retrieves a value from a private member variable and does not change data.
Constructor
A special member function that is called automatically when an object is created.
Destructor
A member function called automatically when an object is destroyed.
Inline Function
A member function that is defined directly within the class definition.
Default Constructor
A constructor that takes no arguments.
Overloaded Constructor
Multiple constructors in a class with different parameter lists.