#Code working with latest Java, but not in V18?
1 messages · Page 1 of 1 (latest)
Are any of the other errors about failures to compile the Card class?
Where is Card.java? Is it accessible? Did it compile
That's the cards parameter. The complaint from the compiler is that it can't find the Card type. So the question is, where is Card declared, and is it being compiled?
Well you must have Card declared somewhere... I doubt you're referring to a type defined by Java.
That's not a declaration of Problem. It's a declaration of a variable, called problems, of type List<Problem>. Assuming the same error, Java is complaining that it doesn't know what a Problem is.
How are you compiling it?