@@ -0,0 +1,397 @@
+class Engine implements CarElement %7B%0A     /**%0A      * Accept the visitor.%0A      * This method will call the method visit(Engine)%0A      * and not visit(Wheel) nor visit(Body)%0A      * because %3Ccode%3Ethis%3C/code%3E is declared as Engine.%0A      * That's why we need to define this code in each car element class.%0A      */%0A %0Apublic void accept(CarElementVisitor visitor) %7B%0A  visitor.visit(this);%0A     %7D%0A %7D%0A

Create Engine.java