MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / HatchbackCar

Method HatchbackCar

Programs/Factory Method/HatchbackCar.java:7–11  ·  view source on GitHub ↗
(String model, String wheel, String engine)

Source from the content-addressed store, hash-verified

5 String wheel;
6 String engine;
7 HatchbackCar(String model, String wheel, String engine) {
8 this.model = model;
9 this.wheel = wheel;
10 this.engine = engine;
11 }
12
13 public String getModel() {
14 return model;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected