Beispiel #1
0
  public static void main(String[] args) {
    PersonBuilder personBuilder = new PersonBuilder("kevin");
    System.out.println(personBuilder.build());

    personBuilder.withColor(ColorTypeEnum.BLACK).withClothes(ClothesTypeEnum.NICE);
    System.out.println(personBuilder.build());
  }