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 Java Objects (Retired) Creating the MVP Strings and Chars

jinhwa yoo
jinhwa yoo
10,042 Points

I think I am not apt to this programming language??? help me I don't know..

I might need very easy examples..

Kevin Faust
Kevin Faust
15,353 Points

I know exactly how you feel. I found the entire track quite hard for beginners. As Brendan said, go through the concepts slowly and seek further information online if necessary!

포기 하지마세요. 화이팅!!

1 Answer

Chris Freeman
Chris Freeman
Treehouse Moderator 67,989 Points

The hardest part of the earlier challenges is understanding all of the terminology and the style and syntax of a new language.

In the chanllenge Task 1, you are asked to add a "tile" to a player's "hand"

The "hand" is stored as the String mHand. The "tiles" are simple characters. To add a tile to the hand, append the tile character to the mHand string. In the video Storing Guesses Craig showed how to add characters to strings. This can be done using:

mHand += tile;