jeudi 10 décembre 2020

Why is my Javascript doing this and how can I fix it? [duplicate]

For my if/else java text-based code, I'm trying to have it print a statement if a specific boolean is true. But it keeps saying:

MyProgram.java:30: error: cannot find symbol if (jerry == true){ ^ symbol: variable jerry location: class MyProgram 1 error

Why is it saying this and how can I fix it?

Screenshot for reference

Aucun commentaire:

Enregistrer un commentaire