A type (called a subclass or derived type) can inherit the characteristics of another type(s) (called a super class or base type)
– The term subclass is equivalent to derived type. A derived type acts just like the base type, except for an explicit list of:
1. Specializations
– Change implementations without changing the base class interface.
– Most useful when combined with dynamic binding.
2. Generalizations/Extensions
– Add new operations or data to derived classes.
– The term subclass is equivalent to derived type. A derived type acts just like the base type, except for an explicit list of:
1. Specializations
– Change implementations without changing the base class interface.
– Most useful when combined with dynamic binding.
2. Generalizations/Extensions
– Add new operations or data to derived classes.
.jpg)
No comments:
Post a Comment