Package Creational.Prototype
Class ConcretePrototype1
java.lang.Object
Creational.Prototype.ConcretePrototype1
- All Implemented Interfaces:
Prototype
A concrete implementation of the Prototype interface.
Represents a prototype with a string attribute.
-
Constructor Summary
ConstructorsConstructorDescriptionConcretePrototype1(String attribute) Constructor to initialize the attribute. -
Method Summary
-
Constructor Details
-
ConcretePrototype1
Constructor to initialize the attribute.- Parameters:
attribute- The value to initialize the prototype's attribute.
-
-
Method Details