exercice 3 methodes