Sign in to save your progress, vote, and build your own decks.Sign in
Programming
gay
35 cards·by ngildow
gay
inverse of constructor functions, they take no arguments and have no parameters
Destructor
a class that can be used to instantiate an object
Concrete Class
can be used to invoke the constructor of the base class
Member Initializer
contains the declaration of the class, which includes the private and public sections
Class Definition
An object passed as an argument to a member function
Implicit Argument
a function that must be overridden by an concrete derived class. Indicated by a "= 0" in the
member functions definition
Pure Virtual Function
Access specifier used to restrict the client's access to the class. Allow the member function
and the friend access
Private Section
the specialized, or "child" class
Derived Class
allows an object pointer to reference objects of different types, and to call the correct
member functions
Polymorphism
at the time that the virtual function call is made, the decision is made about which function to
invoke
Dynamic(late) Binding
The general, or "parent" class
Base Class
occurs when a function calls on itself
Recursive Case
occurs when you assign an object of a derived class to an object of a base class, thereby
losingpart of the informationd
Slicing
an inherited relationship where the more specialized class is derived from the base class
is_A relationship
the member functions
Class Methods
the process of dynamically binding a virtual function
Function Overriding
the decision is made at the compile time about which actual function to invoke
Static(early) Binding
A special predefined pointer that is assigned to the implied (invoking) object
This Pointer
function in base class that expects to be redefined in the derived class
Virtual Function
class member function definitions
Class Implementation
a class that cannot be instantiated and is usually implemented as a class that has one or more
pure virtual functions
Abstract Base Class
Access specifier used to restrict the client's access to the class. Allow the derived class,
member function, and friend access
Protected Section
the creation of an object of a class, involves using a constructor to initialize the object
Instantiation
the problem that we know the answer to, that can be solved without anymore recursive calls
Base Case
two constructors with different signatures. Allows for client flexibility during
instantiation.
Overloaded Constructor
An object passed as an argument to a member function
Explicit Argument
when a class has an object of another class as a data member. This is a "has_A" relationship
Composition
Class A can grant friendship to Class B, Class B acquires access to Class A private data, but
thereciprocal is not true
Friend (Class/Function)
includes at least the function name and the parameter list
Function Signature
function in a derived class that has the same name and parameter list as a function in the base
class
Redefined function
Private function only accessible by other class function or friends of the class
Utility Function
a way to create a new class from an existing class
Inheritance
extends the capability of operators to work with user-defined types
Overloaded Operators
when a class has an object of another class as a data member
has_A relationship
The number of times a function calls on itself
Depth of Recursion