Zoom
Kizspy.me
this.movie Title = title;
this.showTime = time;
this.availableSeat = seat; notifyNotifications();
public class CustomerNotification implements Notification {
public void update(String movie Title, String showTime, int availableSeat) {
/* Send notification to customer */
}
1.WHAT DESIGN PATTERN is used in the code above? Identify its name and pattern family
(creational, structural, or behavioral). (0.5 points)
2.DRAW the class diagram for this pattern. (1 point)
3.DESCRIBE a practical situation in software development where this pattern would be
appropriate. (0.5 points)
Good luck with your exam!
+ 100%
Close