Skip to content

Instantly share code, notes, and snippets.

@muhamedoufi
Created February 3, 2023 17:10
Show Gist options
  • Save muhamedoufi/a94c18a5fc3b5cde32cd16c585871a11 to your computer and use it in GitHub Desktop.
Save muhamedoufi/a94c18a5fc3b5cde32cd16c585871a11 to your computer and use it in GitHub Desktop.
class CheesePizza implements Pizza {
@Override
public void prepare() {
System.out.println("Préparation de la pizza au fromage");
}
@Override
public void bake() {
System.out.println("Cuisson de la pizza au fromage");
}
@Override
public void cut() {
System.out.println("Coupe de la pizza au fromage");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment