Java Interview: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
; [https://www.xinjianl.com/note/software/software-architecture/design-pattern/ Composition vs Aggregation] | ; [https://www.xinjianl.com/note/software/software-architecture/design-pattern/ Composition vs Aggregation] | ||
: Both are Association | : Both are Association | ||
: Composition: A "owns" B | : '''Composition:''' A "owns" B | ||
: Aggregation: A "uses" B | : '''Aggregation:''' A "uses" B | ||
; [https://www.xinjianl.com/note/software/#:~:text=0x56%20Network Network] | |||
: '''Physical Layer:''' Ethernet, 802.11 | |||
: '''Data Link Layer:''' MAC, ARP, PPP | |||
: '''Network Layer:''' IPv4, IPv6 | |||
: '''Transport Layer''' | |||
: '''Session Layer''' | |||
: '''Presentation Layer''' | |||
: '''Application Layer:''' DNS | |||
| valign="top" | | | valign="top" | |
Revision as of 17:06, 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