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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -