SWD392_SU25_PE_1_4135.webp
Yaga97

SWD392_SU25_PE_1_4135.webp

  • Media owner Yaga97
  • Ngày thêm
Bài viết gốc: Chủ đề 'SWD392_SU25_PE_1'
following pseudocode:
Kizspy.me
public interface Notification{
}
public void update(String movie Title, String showTime, int availableSeat);
public class ShowtimeSubject {
private List<Notification>notifications;
private String movie Title;
private String showTime;
private int availableSeat;
public void addNotification (Notification notification) { /* ... */}
public void removeNotification (Notification notification) { /* ... */}
public void notifyNotifications() {
for (Notification notification: notifications) {
notification.update(movie Title, showTime, availableSeat);
}
Zoom
public void updateShowtime(String title, String time, int seat) {
this.movieTitle = title;
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
SWD392
Thêm bởi
Yaga97
Ngày thêm
Lượt xem
1,045
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom