Informations

Date limite Pas de date limite
Etat Pas encore essayé
Note 0.0%
Nombre d'essais 0
Limite de soumission Pas de limite

Soumission en tant que

Pour évaluation

Meilleure soumission
Pas de soumission

Historique des soumissions

  • Pas de soumission

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.