java - Compile error method constructor -


i have array list hand has stay private in class a. in class b, have method public string checkhand(arraylist<card> hand) line has stay way is. checkhand supposed check whether hand contains winning combinations , return string. when try compile class b, unfinished right now, error:

gamepoker.java:40: cannot find symbol     symbol  : class arraylist     location: class gamepoker     public string checkhand(arraylist<card> hand) 

what might missing? thanks.


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -