Skip to content

Commit 354ab13

Browse files
template pattern
1 parent ecdc30d commit 354ab13

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/rohit/enum_as_templete_pattern

1 file changed

+1
-1
lines changed

src/main/java/com/rohit/enum_as_templete_pattern/Sample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static void main(String[] args) {
7676
List<Student> students=new ArrayList<>();
7777
students.add(new Student("Urmila", "Math", "123 Main Street", "2020"));
7878
students.add(new Student("Rohit", "Java", "123 MH Street", "2020"));
79-
students.add(new Student("John", "Math", "123 HYD Street", "2021"));
79+
students.add(new Student("abc", "Math", "123 HYD Street", "2021"));
8080
System.out.println(service.filter(students, StudentDashboard.YEAR));
8181
System.out.println(service.filter(students, StudentDashboard.SUBJECT));
8282

0 commit comments

Comments
 (0)