← Quiz: Design Patterns: all 10 questions
Quiz: Design Patterns · Question 2 of 10
YouTube notifying all subscribers when a video is uploaded is an example of:
YouTube notifying all subscribers when a video is uploaded is an example of:
- A.Factory
- B.Observer
- C.Singleton
- D.Builder
Answer & explanation
Correct answer: Observer
Subscribers register and are notified when the subject changes.
Can you get the rest right without peeking?
Take the timed Quiz: Design Patterns quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →