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

You're right. I did accidentally skip it.

of the lesson. How can I answer questions to material that wasn't taught?

IO.java
// I have imported java.io.Console for you.  It is a variable called console.

2 Answers

andren
andren
28,558 Points

Did you skip the Receiving Input video? That video directly precedes the challenge, console.readLine is both used and explained in that lesson.

foxtails
foxtails
3,655 Points

Because on the top of each video is a line (green with java course) that has progress of the unit or chapter or whatever you wanna call it that you will learn, so at the end of it you get achievement badge. When you first try to watch video you can accidentally press this track and be redirected to previous/next video or questions/coding task if the mouse pointer is at it and you have pressed it. You can look at the video that you accidentally skipped the same way. Hope this helps.