Informações

Prazo de entrega Sem prazo
Status Not yet attempted
Nota 0.0%
Tentativas 0
Limite de submissão No limitation

Enviando como

Para avaliação

Melhor submissão
Nenhuma submissão

Histórico de submissões

  • Nenhuma submissão

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.