When should we use Observer and Observable?
An interviewer asked me: What is Observer and Observable and when should we use them? I wasn’t aware of these terms, so when I got back home and started Googling about Observer and Observable, I found some points from different resources: 1) Observable is a class and Observer is an interface. 2) The Observable class … Read more