November 2001
Beginner
1128 pages
29h 12m
English
| 1: | What is a class? |
| 2: | How does a class accomplish abstraction, encapsulation, and data hiding? |
| 3: | What is the relationship between an object and a class? |
| 4: | In what way, aside from being functions, are class function members different from class data members? |
| 5: | Define a class to represent a bank account. Data members should include the depositor's name, the account number (use a string), and the balance. Member functions should allow the following:
Just show the class declaration, not the method implementations. (Programming Exercise 1 ... |
Read now
Unlock full access