Cannot use clone() method of LinkedList...That's strange

I got a very strange problem. I wrote the following statement:

....

Integer[] nums = generateRandomIntegerArray();

List<Integer> list =new LinkedList<Integer>(Arrays.asList(nums));

[b]

List<Integer> clone = list.clone();

[/b]

.....

I got an error statement: cannot find symbol-method clone().

When I use other methods it's fine, but I cannot use clone().

That's really strange. I've checked many times, clone() method does exist

in the LinkedList class.

[589 byte] By [beckham12a18a] at [2007-10-3 0:26:59]
# 1
Your list variaiable is to an object implementing the interface List and clone is not part of the List interface. To get to the clone method you must cast it back to LinkedList, or use a LinkedList reference.
BillKriegera at 2007-7-14 17:19:36 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...