Exam 1 Terms Flashcards
instance of a class (Encapsulation of behaviors and attributes of a class)
Object
Puts us in scope of a class (Ex: -> Pet::Pet)
Scope Resolution Operator
a “blueprint” for an object
Class
input stream (file and keyboard)
cin
gets a line (strings only) [____(input stream, string, delimiter)
getline()
the variables of our class
Attributes
methods/functions of our class
Behaviors
The child (derived) class CAN exist even if parent (base) doesn’t
Aggregation
a set of compilation commands that build your executable
- Build an exe from obj files
- Build obj files from source code
makefiles
The child (derived) class CANNOT exist even if parent (base) doesn’t
Composition
There is a relationship between classes
Association
Specifies access to behaviors/attributes of our class
[public: everything can access, private: specified things (usually the class) have access, protected: special permission is given to access]
Access Specifiers