11# Instructions append
22
3- Since this exercise has difficulty 5 it doesn't come with any starter implementation.
3+ Since this exercise has difficulty 5, it doesn't come with any starter implementation.
44This is so that you get to practice creating classes and methods which is an important part of programming in Java.
55It does mean that when you first try to run the tests, they won't compile.
66They will give you an error similar to:
@@ -13,9 +13,9 @@ They will give you an error similar to:
1313```
1414This error occurs because the test refers to a class that hasn't been created yet (` ExerciseClassName ` ).
1515To resolve the error you need to add a file matching the class name in the error to the ` src/main/java ` directory.
16- For example, for the error above you would add a file called ` ExerciseClassName.java ` .
16+ For example, for the error above, you would add a file called ` ExerciseClassName.java ` .
1717
18- When you try to run the tests again you will get slightly different errors.
18+ When you try to run the tests again, you will get slightly different errors.
1919You might get an error similar to:
2020```
2121 constructor ExerciseClassName in class ExerciseClassName cannot be applied to given types;
@@ -46,7 +46,7 @@ You might also get an error similar to:
4646 location: variable exerciseClassName of type ExerciseClassName
4747```
4848This error means that you need to add a method called ` someMethod ` to your new class.
49- In the example above you would add:
49+ In the example above, you would add:
5050```
5151String someMethod() {
5252 return "";
@@ -57,4 +57,4 @@ You can find out which return type it should have by looking at the type of obje
5757Or you could set your method to return some random type (e.g. ` void ` ), and run the tests again.
5858The new error should tell you which type it's expecting.
5959
60- After having resolved these errors you should be ready to start making the tests pass!
60+ After having resolved these errors, you should be ready to start making the tests pass!
0 commit comments