@Override void execute() throws SQLException { Scanner sc = new Scanner(System.in); String prenom; System.out.println("Rechercher le prénom souhaité"); prenom = sc.nextLine(); Client c = clientService.rechercherClientPrenom(prenom); System.out.println(c.toString()); }