@@ -0,0 +1,848 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage tpyak;%0A%0Aimport java.util.ArrayList;%0A%0A/**%0A *%0A * @author Atef%0A */%0Apublic class Realisateur %7B%0A%09private String nom;%0A%09private String prenom;%0A%09private ArrayList%3CFilm%3E films = new ArrayList%3CFilm%3E();%0A%0A%09public Realisateur(String nom, String prenom) %7B%0A%09%09this.nom = nom;%0A%09%09this.prenom = prenom;%0A%09%7D%0A%09%0A%09public void AddFilm(Film film) %7B%0A%09%09films.add(film);%0A%09%7D%0A%09%0A%09public ArrayList%3CFilm%3E films() %7B%0A%09%09return films;%0A%09%7D%0A%0A%09public String getNom() %7B%0A%09%09return nom;%0A%09%7D%0A%0A%09public String getPrenom() %7B%0A%09%09return prenom;%0A%09%7D%0A%09%0A%09@Override%0A%09public void finalize() throws Throwable %7B%0A%09%09super.finalize();%0A%09%09System.out.println(this.getClass().getName()+%22 Objet nettoy%C3%A9 de la m%C3%A9moire%22);%0A%09%7D%0A%7D%0A

Create Realisateur.java