package question2; public abstract class AlgoCodage { protected String nom; public abstract String encode(String s); public abstract String decode(String s); public String getNom() { return nom; } }