Please help with 12. I cant get past step 2


Im pretty sure the code is correct. for some reason this error shows up;
Generalizations.java:5: error: not a statement
boolean isComplete; true;
^
1 error

???

set the boolean variable isComplete to true

so i would do

boolean isComplete=true

I think instead of boolean isComplete; true;

write boolean isComplete = true;

Hey that was easy

write boolean isComplete = true

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.