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.


Code Challenge: Objects and Random Numbers

I am a newbie and i am stuck on a line in this course.

in this course on line 32 I see you wright; answer = Integer.toString....... I wright exactly the same but is get this red x and it says;"Multiple markers at this line - answer cannot be resolved to a variable - The value of the local variable answer is

But when i wright; <b>String<b> answer = Integer.toString(randomNumber);

Then de red x is gone.

I hope someone can help me to answer my question.

1 Answer

I am sorry I found the error i typed awnser wrong