new pattern code
new pattern code
new pattern code
new pattern code
added more on observer pattern