Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
A class where on or more of the members is an object from another class has-a relationship |
Composition |
|
All classes that have been written during the semester |
Base Class |
|
Contains all members of the base class and you can add additional members/functions is-a relationship |
Derived Class |
|
class derivedClass: |
public baseClass |
|
All member inheritances are inherited using the the original members of the base class. |
Public Inheritance |
|
Derived class constructors automatically call..
|
default constructor for a base class.
|
|
Derived class constructors can contain code to.. |
call specific constructors of the base class |
|
A value or an object that indicated that an error has occurred |
Exception |
|
Code for handling an exception |
Exception Handler |
|
1.) A block of code that includes error checking that will signal an exception - if (x < 0) throw string("Error Message"); 2.)Followed by an argument, signals an exception
3.) A block of code used to process exceptions thrown in a try block (the parameter must match the type of exception thrown) |
Try Throw Catch |