November 2001
Beginner
1128 pages
29h 12m
English
| 1: | What does a derived class inherit from a base class? |
| 2: | What doesn't a derived class inherit from a base class? |
| 3: | Suppose the return type for the baseDMA::operator=() function were defined as void instead of baseDMA &. What effect, if any, would that have? What if the return type were baseDMA instead of baseDMA &? |
| 4: | In what order are class constructors and class destructors called when a derived class object is created and deleted? |
| 5: | If a derived class doesn't add any data members to the base class, does the derived class require constructors? |
| 6: | Suppose a base class and a derived class both define a method of the same name and a derived class object invokes the method. What method is called? |
| 7: | When should a derived class define an ... |
Read now
Unlock full access