import java.time.LocalDate;
import java.util.ArrayList;

public class Training {
    public static void main(String args[]) {
        ArrayList<Trainee> trainees = new ArrayList<Trainee>() {
            {
                add(new Trainee("John", "Denver", "Sales", LocalDate.now()));
            }
        };

        System.out.println(trainees.get(0).toString());
    }
}

@@ -21,16 +21,40 @@
 alDate;%0A
+import java.time.Month;%0A
 import j
@@ -295,43 +295,1034 @@
 ate.
-now()));%0A            %7D%0A        %7D;%0A%0A
+of(2018, Month.JULY, 1)));%0A                add(new Trainee(%22Joan%22, %22Baltimore%22, %22Purchasing%22, LocalDate.of(2015, Month.APRIL, 15)));%0A                add(new Trainee(%22Jon%22, %22Anchorage%22, %22Production%22, LocalDate.of(2019, Month.AUGUST, 1)));%0A                add(new Trainee(%22Jean%22, %22Dallas%22, %22Sales%22, LocalDate.of(2017, Month.NOVEMBER, 15)));%0A                add(new Trainee(%22Jan%22, %22Calgary%22, %22Returns%22, LocalDate.of(2012, Month.FEBRUARY, 1)));%0A                add(new Trainee(%22Jane%22, %22Fairbanks%22, %22Reporting%22, LocalDate.of(2017, Month.JUNE, 20)));%0A                add(new Trainee(%22Juan%22, %22Eastwood%22, %22Packing%22, LocalDate.of(2018, Month.JANUARY, 25)));%0A                add(new Trainee(%22Joanne%22, %22Gales%22, %22Sales%22, LocalDate.of(2011, Month.DECEMBER, 1)));%0A                add(new Trainee(%22Jo%22, %22Helsinki%22, %22Personnel%22, LocalDate.of(2010, Month.MAY, 1)));%0A                add(new Trainee(%22Janine%22, %22Koln%22, %22Sales%22, LocalDate.of(2019, Month.APRIL, 5)));%0A            %7D%0A        %7D;%0A%0A        for (int i=0; i %3C trainees.size(); i++) %7B%0A    
     
@@ -1357,17 +1357,17 @@
 ees.get(
-0
+i
 ).toStri
@@ -1369,20 +1369,30 @@
 oString());%0A
+        %7D%0A
     %7D%0A%7D%0A

add all trainees