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 trialJan-Philippe Emmanuel Rasay Guerrero
1,567 PointsJava Basics
Call the printf method on the console object and make it write out "<YOUR NAME> can code in Java!"
3 Answers
Krzysztof Kucharzyk
Front End Web Development Techdegree Student 4,005 PointsI think your code suppose to look like this:
String firstName = "YourNameHere";
console.printf("%s can code in Java!", firstName);
Jan-Philippe Emmanuel Rasay Guerrero
1,567 Pointsit worked, thanks!
A X
12,842 PointsWhat is the %s a stand-in for?
Moe Htet
Courses Plus Student 168 PointsMoe Htet
Courses Plus Student 168 PointsThank you very much bro!!!!