just a quick question.. how do you accept an arraylist into a method? Right now I have:
public void getHandValue(ArrayList< Card > hand) {...}
Just the word “ArrayList” is coming up as an error. The arraylist is in my main args. I’m very new to java so I’m sorry if this is a dumb question. Thanks in advance!
Have you imported it at the beginning of your class file?