mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 19:26:12 +00:00
added abstract-factory sample
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package com.iluwatar;
|
||||
|
||||
public class ElfArmy implements Army {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "This is the Elven Army!";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user