Imagine you’re visiting Buckingham Palace, where different guests are charged…
Do you have many if-else conditions in your class ? Is your object has many states…
Iterator pattern is all about streamline the access of the collection so that the client…
The facade pattern is all about providing a high-level interface that makes other domain…
Do you want to make your Cat behave like a Lion ?? Think about the Adapter pattern…
The Command Design Pattern is all about encapsulating a request as an object and passing…
The basic idea behind observer pattern is to have a publisher — subscriber like…