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 trialHafiz Rahim
346 PointsWhat is the problem?
Hello
I am working on this question: -On three different lines, declare three String variables named title1, title2, and title3. Assign them the values: "Android is awesome", "Mike is cool", and "Treehouse loves me".
And my answer is: String title1 = "Android is awesome"; String title2 = "Mike is cool"; String title2 = "Treehouse loves me";
But my answer is not correct. May you help on this
Thank you
1 Answer
Daniel Hartin
18,106 PointsJust a typo! You have put title2 for your third variable name not title3 otherwise your code is correct.