1. |
What is inheritance for? |
2. |
Explain polymorphism. What is it? How can you use it? |
3. |
Explain the difference between dynamic binding and static binding. Describe the conditions that enable each. |
4. |
How do you override a base class method? |
5. |
What is a pure virtual function? What is it used for? |
6. |
What is an abstract class? What is it used for? What can you do with a concrete class that you cannot do with an abstract class? |
7. |
What does it mean for a base class function to be hidden? What can cause this to happen? |
8. |
Which member functions cannot be inherited from the base class? Explain why. |
Part I: Introduction to C++ and Qt 4
C++ Introduction
Classes
Introduction to Qt
Lists
Functions
Inheritance and Polymorphism
Part II: Higher-Level Programming
Libraries
Introduction to Design Patterns
QObject
Generics and Containers
Qt GUI Widgets
Concurrency
Validation and Regular Expressions
Parsing XML
Meta Objects, Properties, and Reflective Programming
More Design Patterns
Models and Views
Qt SQL Classes
Part III: C++ Language Reference
Types and Expressions
Scope and Storage Class
Statements and Control Structures
Memory Access
Chapter Summary
Inheritance in Detail
Miscellaneous Topics
Part IV: Programming Assignments
MP3 Jukebox Assignments
Part V: Appendices
MP3 Jukebox Assignments
Bibliography
MP3 Jukebox Assignments