Welcome to the Treehouse Community
Looking to learn something new?
wenting bianCourses Plus Student 1,180 Points
Unhappy with this challenge! This error alert and the "correct" answer waste my time.
This is not a question, but an alert or a comment. Only "mBarsCount++" is right. They do not consider "mBarsCount += 1" as right. OK, it's reasonable. The error alert said "Use ++". Yeah, I used "++" now. However, they don't consider "mBarsCount ++", which is correct in Java, as right. Waste much time!
Yeah I had the same issue IIRC. I guess the ++ notation is more idiomatic of Java.