Introduction to SOLID Principles in Java
Design scalable systems with SOLID principles
()
What you should know
()
1. Single Responsibility Principle (SRP)
What is the SRP?
()
Coding the SRP
()
Applying the SRP for functions
()
Challenge: Improve code with the SRP
()
Solution: Improve code with the SRP
()
2. Open/Closed Principle (OCP)
What is the OCP?
()
Improving code with the OCP
()
Challenge: Improve code with the OCP
()
Solution: Improve code with the OCP
()
3. Liskov Substitution Principle (LSP)
What is the LSP?
()
Improving code with the LSP
()
Challenge: Improve code with the LSP
()
Solution: Improve code with the LSP
()
4. Interface Segregation Principle (ISP)
What is the ISP?
()
Improving code with the ISP
()
Challenge: Improve code with the ISP
()
Solution: Improve code with the ISP
()
5. Dependency Inversion Principle (DIP)
What is the DIP?
()
Improving code with the DIP
()
Challenge: Improve code with the DIP
()
Solution: Improve code with the DIP
()
Ex_Files_Solid_Principles_Design_Java.zip
(48 KB)