class afficher_liste
{
  public static void main (String[] arguments)
  {
    try
    {
      liste l;

      l = new liste (1,new liste (2,new liste (3,new liste ())));

      System.out.println (l);
    }
    catch (Exception e)
    {
      System.out.println ("Erreur : operation sur une liste vide.");
    }
  }
}
    

Retour