Package Creational.AbstractFactory
Interface ProductB
- All Known Implementing Classes:
ConcreteProductB1,ConcreteProductB2
public interface ProductB
Abstract interface for ProductB.
Defines the behavior for all implementations of ProductB.
-
Method Summary
Modifier and TypeMethodDescriptionPerforms an operation specific to ProductB.
-
Method Details
-
operationB
String operationB()Performs an operation specific to ProductB.- Returns:
- A string describing the operation performed by ProductB.
-