The facade pattern is all about providing a high-level interface that makes other domain…
In simple words, the decorator pattern helps attach different behaviors to the object…
The basic idea behind observer pattern is to have a publisher — subscriber like…