4 {
5 Guest wing = new Guest("Wing");
6 Guest joy = new Guest("Joy");
7 Guest marco = new Guest("Marco");
8
9 Event bookFair = new Event("Book Fair");
10 bookFair.addVenue("Hall A");
11 bookFair.addVenue("Room 1");
12
13 wing.joinEvent(bookFair, "Hall A");
14 joy.joinEvent(bookFair, "Room 1");
15 marco.joinEvent(bookFair, "Room 1");
16
17 Event gunplaExpo = new Event("Gunpla Expo");
18 gunplaExpo.addVenue("Room 1");
19
20 wing.joinEvent(gunplaExpo, "Room 1");
21
22 System.out.println(wing.hasCloseContactWith(joy));
23 System.out.println(wing.hasCloseContactWith(marco));
24 System.out.println(joy.hasCloseContactWith(marco));
25 }