public class Test
{
public static void main(String[] args)
{
int[] source = {1,2,3,4,5};
int[] target = (int[])source.clone();
for(int i = 0 ; i < target.length; i++)
System.out.println(target[i]);
}
}
History
Last edited on 08/30/2007 17:21 by benelog
Comments (0)