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 Strings

I have no idea how this wrong console.printf("%s really %s this coding exercise", name, pastTenseVerb);

It tells me it isn't in the correct order.

3 Answers

Hey Cody,

I've tried your code and the challenge passed for me. Could you post your entire code block, including the variables?

String name = console.readLine("Enter Name: ");

console.printf("%s", name);

String pastTenseVerb = console.readLine("Enter a past tense verb: ");

console.printf("%s", pastTenseVerb);

console.printf("%s really %s this coding exercise", name, pastTenseVerb);

Hey Cody, remove your other print statements (Lines 2 and 4) and the challenge will pass.

Thank you! The other test I did in there told me I wasn't allowed to remove previous things I typed so I figured I had to leave them all there.