Information

Deadline No deadline
Status Not yet attempted
Grade 0.0%
Attempts 0
Submission limit No limitation

Submitting as

For evaluation

Best submission
No submission

Submission history

  • No submission

Programming exercise - Adder

In this assignment, you will implement a fairly complicated method on your repository.

Go to the Adder.java file from your own repository.

It contains one task inside the increment method. You will need to fill in the missing implementation:

public static int increment(int x) {
     throw new RuntimeException("Not implemented");
}

Replace the exception and implement the method such that it returns the increment of x.

The implementation needs to be done within your personal repository that you have setup before.

You can check that your implementation is correct by running the tests within MyTests.