added factory method sample
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
package com.iluwatar;
|
||||
|
||||
public interface Blacksmith {
|
||||
|
||||
Weapon manufactureWeapon(WeaponType weaponType);
|
||||
|
||||
}
|
Reference in New Issue
Block a user