Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrajaktaSathe/Java
/ buildCar
Method
buildCar
Programs/Factory Method/CarFactory.java:4–4 ·
view source on GitHub ↗
(String model, String wheel, String engine)
Source
from the content-addressed store, hash-verified
2
3
public
interface
CarFactory {
4
public
abstract Car buildCar(String model, String wheel, String engine);
5
}
Callers
1
buildCarMethod
Method · 0.65
Implementers
3
SUVCarFactory
Programs/Factory Method/SUVCarFactory.
SedanCarFactory
Programs/Factory Method/SedanCarFactor
HatchbackCarFactory
Programs/Factory Method/HatchbackCarFa
Calls
no outgoing calls
Tested by
1
buildCarMethod
Method · 0.52