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?
Aucun commentaire:
Enregistrer un commentaire