Skip to content

Instantly share code, notes, and snippets.

@muhamedoufi
Created February 3, 2023 17:09
Show Gist options
  • Save muhamedoufi/ea13c1d47906ce8bf033a1bb280276eb to your computer and use it in GitHub Desktop.
Save muhamedoufi/ea13c1d47906ce8bf033a1bb280276eb to your computer and use it in GitHub Desktop.
Pizza cration using Factory Method
interface Pizza {
void prepare();
void bake();
void cut();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment