Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import java.io.IOException;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. // TODO Auto-generated method stub
  7.  
  8. String chemin = "D:\\Données Windows\\Documents\\Sauvegarde.txt";
  9. Aide_soignante el1 = new Aide_soignante (42,"Suzie","Bourrel");
  10.  
  11. try {
  12. el1.Sauvegarder(chemin);
  13. } catch (IOException e) {
  14. System.out.println("erreur");
  15. }
  16. }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement