@@ -0,0 +1,317 @@
+class X%7B%0A%09int x;%0A%09%09X(int i)%7B%0A%09%09%09this.x = i;%0A%09%09%7D;%0A        X(X a)%7B%0A        %09%09this.x = a.x;%0A        %7D%0A%7D%0Aclass demo%7B%0A        public static void main(String %5B%5D arg)%7B%0A              %09X t = new X(8);%0A              %09System.out.println(t.x);%0A                X n = new X(t);%0A                System.out.println(n.x);%0A        %7D%0A%7D%0A

Create constructor_obj_arg.java