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 Receiving Input

ariel kalman
ariel kalman
47 Points

please help me!

hello

my name is ariel and im learning java in my class and every time she says that if i want to print somthing i need to use the action system.out.println(). i dont understand ehat he is doing in the video with all the console.print... can someone explain me is it? and there is other videos in this site that i can learn from them java like my teacher said? i want to learn the basic language (java), and also objects and loops and strings...

plese help me

thank you very much

ariel

2 Answers

Hi Ariel - I'm also taking Java classes, and the Treehouse courses are the only place I've used console.print. I think it's because in Treehouse you're working in the console and running your programs from an interactive command line, and system.out.print() is what you should always use in programs outside of Treehouse.

Clovis Mugaruka
Clovis Mugaruka
2,772 Points

Hi, Ariel

I second Kathryn Ann. Although there are advantages with the Console class, among them: better character encoding integration, additional methods..

See this post for more.