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 Java Objects (Retired) Creating the MVP Prompting for Guesses

Gonzalo Torres del Fierro
PLUS
Gonzalo Torres del Fierro
Courses Plus Student 16,751 Points

mAnswer

how mAnswer, wich get the value from answer input in the Game class, get the pazzle String from the hangman entry in , i can not see it...thx ( all this on the hangman project) :)

Gonzalo Torres del Fierro
Gonzalo Torres del Fierro
Courses Plus Student 16,751 Points

ahh yes I get it, ...the mAnswer, get the value, from the initial state on the Hangman class, then the whole program start working; this issue show me that the whole game that we built, got a secuential behavior...

1 Answer

I'm glad you figured it out, and yeah program execution is always sequential like that. The order can jump around if, for example, a method calls another method that took place earlier in the code. I hope that makes sense. :p