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

i have a problem using this work Space

hey , i am used to use an IDE and i do not know how does this work space works , what do you recommend me to do ?

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

1 Answer

They are trying to make it easier for you to get started, by not having you create the whole class (or install an IDE). So essentially, you need to enter code, just as if you were inside the middle of a method, which had already created the console variable. In the particular case, you would probably enter something like:

String firstName = console.readLine();

Does that help? You don't have to worry about creating the project or the class or the method, you can pretend all of that has been done for you, and you just need to write a line or two of code.

thanks adrian , it helped a lot !