@@ -0,0 +1,666 @@
+/**%0A 2  * Implementation of prototype class%0A 3  */%0A 4 %0Aclass PrototypeImpl implements Prototype %7B%0A 5     private int x;%0A 6 %0A 7     /**%0A 8      * Constructor%0A 9      */%0A10     public PrototypeImpl(int x) %7B%0A11         setX(x);%0A12     %7D%0A13 %0A14     @Override%0A15     public void setX(int x) %7B%0A16         this.x = x;%0A17     %7D%0A18 %0A19     @Override%0A20     public void printX() %7B%0A21         System.out.println(%22Value: %22 + getX());%0A22     %7D%0A23 %0A24     @Override%0A25     public int getX() %7B%0A26         return x;%0A27     %7D%0A28 %0A29     @Override%0A30 %0A    public PrototypeImpl clone() throws CloneNotSupportedException %7B%0A31         return (PrototypeImpl) super.clone();%0A32     %7D%0A33 %7D%0A

Create PrototypeImpl.java