added abstract-factory sample

This commit is contained in:
Ilkka Seppala
2014-08-09 20:38:00 +03:00
parent 54d54097eb
commit ce5700c1b7
15 changed files with 184 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package com.iluwatar;
public class ElfKing implements King {
@Override
public String toString() {
return "This is the Elven king!";
}
}