rendered paste bodypackage pkg;import java.sql.*;import java.util.*;import java.io.*;public class ContactAdressePro extends Contact{ protected AdressePro adressePro; public ContactAdressePro(int intNum, String strNom, String strPrenom, String strAdresse, String strCP, String strVille, String strTelPortable, String strTelFixe, String strEmail, String strFax, Groupe strGroupe, AdressePro strAdressePro) { super(intNum, strNom, strPrenom, strAdresse, strCP, strVille, strTelPortable, strTelFixe, strEmail, strFax, strGroupe); this.adressePro = strAdressePro; } public AdressePro getAdressePro() { return(this.adressePro); } public void afficherContact() { super.afficherContact(); this.getAdressePro().afficherAdressePro(); } }