@@ -0,0 +1,520 @@
+class Car implements CarElement %7B%0A     CarElement%5B%5D elements;%0A %0A     public Car() %7B%0A         // Create new Array of elements%0A         this.elements = new CarElement%5B%5D %7B new Wheel(%22front left%22),%0A             new Wheel(%22front right%22), new Wheel(%22back left%22) ,%0A             new Wheel(%22back right%22), new Body(), new Engine() %7D;%0A     %7D%0A %0A %0A    public void accept(CarElementVisitor visitor) %7B    %0A         for(CarElement element : elements) %7B%0A %0A    element.accept(visitor);%0A         %7D%0A %0A    visitor.visit(this);    %0A     %7D%0A %7D%0A

Create Car.java