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 Getting Started with Java IO

so if I'm stuck I cannot move forward until I get answer right?

?

IO.java
// 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
Steven Parker
231,184 Points

You'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