Question d’entretien chez Nextlabs

1. Implement the following function: int findMax(int[] items) { }

Réponse à la question d'entretien

Utilisateur anonyme

12 janv. 2012

int findMax(int[] items) { int maxValue = items[0]; for(int i=1;i maxValue){ maxValue = items[i]; } } system.out.println(maxValu); }