#Code working with latest Java, but not in V18?

1 messages · Page 1 of 1 (latest)

fast charmBOT
#

<@&987246883653156906> please have a look, thanks.

patent cedar
#

Are any of the other errors about failures to compile the Card class?

patent cedar
#

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.

patent cedar
#

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.

simple swallow
#

How are you compiling it?