🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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:

  1. A.Factory
  2. B.Observer
  3. C.Singleton
  4. 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 →