Design Patterns & Principles - prkirankumar/interview-preparation GitHub Wiki
-
Explain Liskov Substitution Principle (LSP) with an real time example in context of your projects?
-
Explain Dependency Inversion, Inversion of Control (IoC), Dependency Injection?
-
Explain differences between an interface and an abstract class?
- An Interface talks about requirement specification(s) where as an Abstract class talks about implementation but not completely (partial implementation).
- An interface is a set of operations (methods) that given object can perform
- also called contract for supplying a set of operations.
- define abstract behavior
-
Explain the difference among design patterns, architecture patterns and architectural style.
-
Explain the three different categories of GOF design patterns.
-
Why Singleton pattern is called Anti-pattern?