Here is the list of topics for the final exam.
- Inheritance and Polymorphism in C++ - Chpt 12
- Syntax for inheritance
- Inheriting as public, protected and private
- Overridding method and use of keyword virtual
- Calling a method from the Base class that is overridden in the derived class.
- Access in the derived class to inherited members from the base class
(declaring as private vs protected/public in the base class)
- Constructors and assignment operator do NOT get inherited.
- Calling the assignment operator for the base class.
- Destructor "inherited" in a special way.
- Order of Initialization by a constructor of a derived class.
- Difference between operators of . and -> and dynamic binding.
- Restriction of some methods during inheritance
- Multiple Inheritance
- Resolution of Name Ambiguity
Here is the list of topics for exam 2.
- UML Notation
- Inheritance - Chpt 3.
- Purpose
- Specialization and Composition
- Restriction
- Subclass Creation
- Method overriding: replacing or refining
- Abstract Classes
- Multiple Inheritance
- Name Ambiguity and Repeated Inheritance
- Smalltalk - Chpt 5, 6, 7, 8 (Mostly Chpt 5).
- Language Tokens
- Variables,
- Message Expressions
- Precendence
- Cascading messages
- Flow of Control