We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
allergies
1 parent 9414ddf commit a20f059Copy full SHA for a20f059
1 file changed
exercises/practice/allergies/src/main/java/Allergies.java
@@ -1,10 +1,15 @@
1
-/*
+import java.util.List;
2
3
-Since this exercise has a difficulty of > 4 it doesn't come
4
-with any starter implementation.
5
-This is so that you get to practice creating classes and methods
6
-which is an important part of programming in Java.
+class Allergies {
+ Allergies(int score) {
+ throw new UnsupportedOperationException("Please implement the Allergies constructor");
+ }
7
8
-Please remove this comment when submitting your solution.
+ boolean isAllergicTo(Allergen allergen) {
9
+ throw new UnsupportedOperationException("Please implement the isAllergicTo method");
10
11
-*/
12
+ List<Allergen> getList() {
13
+ throw new UnsupportedOperationException("Please implement the getList method");
14
15
+}
0 commit comments