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

2 Answers

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

It means create reference to quote:

Returns the unique Console object associated with the current Java virtual machine, if any.

and put the reference in the variable console.

So that when you write console.println you execute method on that exact console associated with current Java Machine.

Feel free to check documentation:

https://docs.oracle.com/javase/7/docs/api/java/lang/System.html#console()

Craig Dennis
Craig Dennis
Treehouse Teacher

Thanks Alexander Nikiforov ! Does this answer your question Rene van den Heuvel ? If so can you choose Best Answer on Alexander's post please?

Let me know if you still have questions

Learning coding
seal-mask
.a{fill-rule:evenodd;}techdegree
Learning coding
Front End Web Development Techdegree Student 9,937 Points

Thanks again Alexander Nikiforov!

For now I don't understand your answer and don't have time to ask and formulate right questions. Going on vacation, but I will be back :)