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 trialsantosh kundum
345 PointsWhy not System.out.println(); command to print? Is this just because we are not in local system?
Why not System.out.println(); command to print? Is this just because we are not in local system?
3 Answers
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsYou can use both when you are in Workspaces. It does not matter
In IDE when you get there System.out.println
is preferred, because it is better not to use Console
in IDEs
Read here for more:
http://stackoverflow.com/questions/26470972/trying-to-read-from-the-console-in-java
If you want to dig into details of what is better
Start from here, for example
http://stackoverflow.com/questions/4005378/console-writeline-and-system-out-println
teaser tamil
936 PointsThanks
Lucas Frixione
1,332 Pointsi had that same doubt too thanks!
santosh kundum
345 Pointssantosh kundum
345 PointsThanks...