public class test{ public static void main (String[] arg) { test[] x = new test[1]; test[] y = (test[])x.clone(); } }