Java Interview: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 35: | Line 35: | ||
## I for Indescriptive Naming | ## I for Indescriptive Naming | ||
## D for Duplication | ## D for Duplication | ||
|} | |||
---- | |||
{| | |||
| valign="top" | | |||
; [https://www.xinjianl.com/note/software/software-architecture/design-pattern/ Composition vs Aggregation] | |||
: Both are Association | |||
: Composition: A "owns" B | |||
: Aggregation: A "uses" B | |||
| valign="top" | | |||
|} | |} |
Revision as of 16:59, 24 October 2020
|
|
|
|
References
- Use MVC, SOLID Principles and Design Patterns in Java
- Organize Objects With Structural Design Patterns
- Manage Objects With Behavioral Design Patterns
- Create Objects With Creational Design Patterns
- Avoid STUPID Practices in Programming
- SOLID Principles in Java
- Computer Science
- Design Pattern
- Algorithm