19 lines
298 B
Java
19 lines
298 B
Java
package questioncomplementaire;
|
|
|
|
public abstract class AlgoCodage {
|
|
|
|
protected String nom;
|
|
|
|
public abstract String encode(String s);
|
|
|
|
public abstract String decode(String s);
|
|
|
|
public String getNom() {
|
|
return nom;
|
|
}
|
|
|
|
@Override
|
|
public abstract String toString();
|
|
|
|
|
|
}
|