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 trialJohn Ellison
726 Pointsso if I'm stuck I cannot move forward until I get answer right?
?
// I have imported java.io.Console for you. It is a variable called console.
String firstName = console.readLine("firstName");
String lastName = console.readLine("lastName");
console.printf = console.readline("First Name: ");
1 Answer
Steven Parker
231,275 PointsYou're never "stuck". You can skip a challenge (or any course step) by clicking on the next circle on the progress bar that goes across the top of the page. The current page is represented by the circle with the ring around it.
But if you'd like to give this one another shot, here's some hints:
- you won't need "readLine" again in task 3
- you also won't be making an assignment ("=")
- the argument passed to "printf" will need to combine the words in quotes with the variable name