Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?!?!?