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 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 68,423 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;