Skip to content

Commit 1a3ba48

Browse files
committed
Add Bug
1 parent e41c9fb commit 1a3ba48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Exercise.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public static void main(String[] args) {
66

77
FilteredStudents adultStudents = new FilteredStudents((student) -> student.age > 18);
88
adultStudents.add(steffen);
9+
steffen.age = 17;
910
adultStudents.add(kid);
1011
adultStudents.forEach(student -> System.out.println(student.name.toUpperCase()));
1112

0 commit comments

Comments
 (0)