Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrajaktaSathe/Java
/ CarFactory
Interface
CarFactory
Programs/Factory Method/CarFactory.java:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
package
factoryMethod;
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
no test coverage detected