MCPcopy Create free account
hub / github.com/Anchals24/Low-Level-Design / main

Method main

AbstractFactoryPattern/placeOrder.java:4–14  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

2
3public class placeOrder {
4 public static void main(String[] args) {
5 NYPizzaStore nyPizzaStore = new NYPizzaStore();
6 nyPizzaStore.orderPizza("cheese");
7
8 ChicagoPizzaStore chicagoPizzaStore = new ChicagoPizzaStore();
9 chicagoPizzaStore.orderPizza("clam");
10
11 ChicagoPizzaStore chicagoPizzaStore1 = new ChicagoPizzaStore();
12 chicagoPizzaStore1.orderPizza("mushroom");
13
14 }
15}

Callers

nothing calls this directly

Calls 1

orderPizzaMethod · 0.45

Tested by

no test coverage detected