Don’t Repeat Yourself (DRY) is a software development principle, the main aim of which is to reduce repetition of code. Write Everything Twice (WET) is…
S.O.L.I.D. Stands for S — Single responsibility principle O — Open closed principle L — Liskov substitution principle I — Interface segregation principle D —…