Open-Closed Principle – Interview Question with awesome Answer

Interview Question: Explain Open – closed Object Oriented Design Principle with program and example. What is benefit of using Open closed principle? NOTE: To answer this question, we should be explaining what the problem is without using Open Closed principle and what we get Read more →

What is difference between Factory Design Pattern and Builder Pattern?

Answer: Listing here the differences between factory design pattern and Builder design pattern with example and source code. A Factory Design Pattern is used when the entire object can be easily created and object is not very complex. Whereas Builder Pattern is used when Read more →