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
Danny B
8,074 Pointsprintf vs. println
I've dabbled a bit in java and have always seen people using println when outputting text. is there a difference?
2 Answers
Timothy Hilley
2,292 Pointsprintf is for printing formatted text (such as using %d %s or %whatever) println("just words here, notheing else, and it automatically includes a %n")
Danny B
8,074 Pointsi see, thanks.