5.1 Summary
- Objects of a base class can be instances of any of the derived classes. This is polymorphism.
- Abstract classes and methods are intended to be declared and specified elsewhere (e.g., in a derived class).
- Nullable value types (e.g.,
int?,double?) wrap primitive types so they can behave like objects and hold null. - Converting from
inttoint?is called boxing; converting fromint?tointis called unboxing.