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 Guess How Many Are In The Jar Game in Java

Andrew Wynyard
Andrew Wynyard
3,718 Points

Need help on the first project, Jar on Java.

Im having issues kicking off this project. Firstly separating things into objects and taking the Hangman game as a sort of template to begin things. I have taken the tasks from the task list, but I am somewhat lost to simply start the thing. I have gone through the lessons before hand twice also. I think I have modelled the Jar as its own class OK, but that's all.

1 Answer

Lucas Frixione
Lucas Frixione
1,332 Points

i have problems assigning the values to the constructors of each class :C the Jar object mostly, if all my variables are in my prompter class, how do i pass them over to the constructor of my Jar object?!?!?