Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

Keeping getting error while trying to run code in workspace

Hi, can someone help me please, i am doing the incrementing and decrementing video in Java Objects, followed the video exactly but when i run the code in the workspace it comes up as an error

Example.java:26: error: reached end of file while parsing
}
^
1 error

Sounds like you are missing a closing curly brace.

Craig Dennis
Craig Dennis
Treehouse Teacher

Like Lauren said specifically in Example.java

1 Answer

Missing a curly bracket?