DEV/DEV3.2/TP7/Prefixe/NoeudChiffre.java

11 lines
161 B
Java
Raw Normal View History

2023-11-29 17:27:03 +01:00
public class NoeudChiffre extends Noeud{
public NoeudChiffre(String n){
this.val = n;
}
protected void afficherNoeud(){
System.out.print(val+" ");
}
}