package eu.programit;

import java.util.ArrayList;
import java.util.List;

import eu.programit.domain.*;

public class Main {

	public static void main(String[] args) {

		List<Person> people = new ArrayList<>();

		// feature 1.  add your person class

		Person raymond = new Raymond();
		Person jeffrey = new Jeffrey();
		Person rik = new Rik();
		Person remond = new Remond();

		// feature 2. add your own Person here
		people.add(raymond);
		people.add(jeffrey);
		people.add(rik);
		people.add(remond);

		for (Person p : people) {
			System.out.println("Person with firstName " + p.getFirstName() + " has hobbies " + p.getHobbies());
		}
	}
	
	// feature 3. somebody (who?) whould make this jar runnable with this main class

}

@@ -14,17 +14,19 @@
 ogramit;
-%0A
+%0D%0A%0D
 %0Aimport 
@@ -45,16 +45,17 @@
 rayList;
+%0D
 %0Aimport 
@@ -69,17 +69,19 @@
 il.List;
-%0A
+%0D%0A%0D
 %0Aimport 
@@ -102,17 +102,19 @@
 omain.*;
-%0A
+%0D%0A%0D
 %0Apublic 
@@ -125,17 +125,19 @@
 s Main %7B
-%0A
+%0D%0A%0D
 %0A%09public
@@ -170,17 +170,19 @@
  args) %7B
-%0A
+%0D%0A%0D
 %0A%09%09List%3C
@@ -216,17 +216,19 @@
 ist%3C%3E();
-%0A
+%0D%0A%0D
 %0A%09%09// fe
@@ -258,17 +258,19 @@
 on class
-%0A
+%0D%0A%0D
 %0A%09%09Perso
@@ -295,16 +295,17 @@
 ymond();
+%0D
 %0A%09%09Perso
@@ -330,16 +330,17 @@
 ffrey();
+%0D
 %0A%09%09Perso
@@ -357,16 +357,17 @@
 w Rik();
+%0D
 %0A%09%09Perso
@@ -390,17 +390,48 @@
 emond();
-%0A
+%0D%0A%09%09Person hans = new Hans();%0D%0A%0D
 %0A%09%09// fe
@@ -463,16 +463,17 @@
 son here
+%0D
 %0A%09%09peopl
@@ -487,16 +487,17 @@
 aymond);
+%0D
 %0A%09%09peopl
@@ -511,16 +511,17 @@
 effrey);
+%0D
 %0A%09%09peopl
@@ -531,16 +531,38 @@
 dd(rik);
+%0D%0A%09%09people.add(hans);%0D
 %0A%09%09peopl
@@ -575,17 +575,19 @@
 remond);
-%0A
+%0D%0A%0D
 %0A%09%09for (
@@ -606,16 +606,17 @@
 eople) %7B
+%0D
 %0A%09%09%09Syst
@@ -714,17 +714,21 @@
 ());
+%0D
 %0A%09%09%7D
+%0D
 %0A%09%7D
+%0D
 %0A%09
+%0D
 %0A%09//
@@ -809,8 +809,11 @@
 lass
-%0A
+%0D%0A%0D
 %0A%7D
+%0D
 %0A

add Hans