Package Creational.FactoryMethod
Class ConcreteProductB
java.lang.Object
Creational.FactoryMethod.ConcreteProductB
- All Implemented Interfaces:
Product
Concrete implementation of the Product interface.
ConcreteProductB represents a specific type of product that implements
the behavior defined in the Product interface. It provides a unique
implementation for the `use` method.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConcreteProductB
public ConcreteProductB()Default constructor for ConcreteProductB.
-
-
Method Details