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 Basics Using your New Tools Multiple Format Strings

Code Challenge Problems

This doesn't make sense. What is wrong here? It says "Bummer"...

String name = console.readLine();

Oh great, it worked. Thanks a lot. Is different from C# then...

Craig Dennis
Craig Dennis
Treehouse Teacher

Hi Kim...it's actually just my dorky test...that should work just fine. I will fix, thanks for pointing that out!

I found a bug! :) Thanks for the information Craig.

1 Answer

samuel zaffran
samuel zaffran
24,815 Points

Hi, 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.