Hi guys✋,This is day 3 of landing a Job in 30days👩💻.
I learned about SOLID principle. Maybe In future I may use that
SOLID-
S- Single Responsibility Principle (SRP) ->Each class should have only one sole purpose not be filled with excessive functionality
O- Open-Closed Principle (OCP) ->Classes should be open for extension,closed for modification .In other words ,you should not have to rewrite an existing class for implementing new features.
L- Liskov Substitution Principle (LSP) ->This means that every subclass or derived class should be substitutable for their base or parent class.
I- Interface Segregation Principle (ISP) ->Interfaces should not force classes to implement what they can't do. Large interfaces should be divided into small ones
D- Dependency Inversion Principle (DIP) -> Components should depend on abstractions , not on concretions
Github link for code-- https://github.com/kavyabala23/SOLID-Principle
To solve problem i use this link - https://github.com/kunal-kushwaha/DSA-Bootcamp-Java/blob/main/assignments/06-searching.md
Problem solved today
Happy Coding!!!!😃