class Test1{
    public static void main(String[] args){
	Mot l = new Mot('C', new Mot('D', null));
	Mot m = new Mot('A', new Mot('B', null));
	Mot n = new Mot('A', new Mot('B', null));
	// doit afficher ABCD (a la mise en forme pres) 
	Mot.afficher(Mot.concatener(m, l));
	// true
	System.out.println(Mot.egaux(m, n));
	// false
	System.out.println(Mot.egaux(m, l));
    }
}

