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

what is the difference between console.printf and system.out.printf?

Trying to understand Java

1 Answer

Hello Juan, there was a previous answer on this topic which will hopefully help you understand the difference. If you have any additional question, go ahead and ask.

https://teamtreehouse.com/community/what-is-the-different-between-using-console-vs-systemout

Note also this StackOverflow thread which can give you some additional insight: https://stackoverflow.com/questions/4005378/console-writeline-and-system-out-println