-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChapter02.java
More file actions
30 lines (26 loc) · 948 Bytes
/
Copy pathChapter02.java
File metadata and controls
30 lines (26 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package chapter02;
import utils.ChapterTemplate;
import utils.SolutionTemplate;
import java.util.ArrayList;
/**
* @author Pasquale Convertini <pasqualeconvertini95@gmail.com>
* @github @pasquale95
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*/
public class Chapter02 extends ChapterTemplate {
protected static ArrayList<SolutionTemplate> exercises;
public Chapter02() {
exercises = new ArrayList<>();
exercises.add(new chapter02.ex2_1.Solution());
exercises.add(new chapter02.ex2_2.Solution());
exercises.add(new chapter02.ex2_3.Solution());
exercises.add(new chapter02.ex2_4.Solution());
exercises.add(new chapter02.ex2_5.Solution());
exercises.add(new chapter02.ex2_6.Solution());
}
@Override
protected ArrayList<SolutionTemplate> getExercises() {
return exercises;
}
}