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
Post a Comment