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 trialKim Sorgalla
2,174 PointsCode Challenge Problems
This doesn't make sense. What is wrong here? It says "Bummer"...
String name = console.readLine();
Craig Dennis
Treehouse TeacherHi Kim...it's actually just my dorky test...that should work just fine. I will fix, thanks for pointing that out!
Kim Sorgalla
2,174 PointsI found a bug! :) Thanks for the information Craig.
1 Answer
samuel zaffran
24,815 PointsHi, when you want to use the readLine method, you need to pass a string Inside the parenthesis otherwise the variable which is a string is lying. Here you just need to put "" Inside parenthesis. Luck.
Kim Sorgalla
2,174 PointsKim Sorgalla
2,174 PointsOh great, it worked. Thanks a lot. Is different from C# then...