Total Complexity | 1 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | /* |
||
8 | public class Main { |
||
9 | |||
10 | public static void main(String[] args) { |
||
11 | Interpreter interpreter = new Interpreter(); |
||
12 | interpreter.addAlbumToRegistry(new Album("Korn", "Untouchables")); |
||
13 | interpreter.addAlbumToRegistry(new Album("Deftones", "Adrenaline")); |
||
14 | |||
15 | System.out.println(interpreter.interpret("album 2")); |
||
16 | System.out.println(interpreter.interpret("album author 2")); |
||
17 | System.out.println(interpreter.interpret("album author 1")); |
||
18 | System.out.println(interpreter.interpret("author 1")); |
||
19 | } |
||
21 |