Inheritance and composition are two methods of code reuse, where classes inherit properties from parent classes or objects are composed of other objects.
![]() |
Inheritance |
![]() |
Composition |
Links
![]() |
Inheritance |
![]() |
Composition |
![]()
WARNING: This entry is marked as non-release and pending review.
![]()
This is the discussion topic for4009 - Code Reuse
.
Feel free to contribute or asking relevant questions.