Correction exercice 2

/**  
 * Un paragraphe dispose du texte associé et offre un service
 * d'affichage 
 */
public class Paragraph  {
    private String text;
    public Paragraph(String theText) {
        text=theText;
    }
    public String toString(){
        return text;
    }
}