Help Needed in compiling card lab (java)

It cannot find:
symbol : method set(int)

Javadoc shows set to be:
public Object set(int index,
Object element)

You're missing something

Also, there's no need to do two rands and swap their places. You could just as easily use one rand and swap it with the current index.
 
Back
Top