Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- there is design patteren
- favour object composition over inheritance
- class abc extends def
- class abc
- {
- private def obj;
- }
- but what are meaning of 2 lines
- inheritance change behavior at compile time
- composition change behavior at run time
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement