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 trialCJ Jugarap
2,517 PointsI'm typing console.printf(“%s can code in Java!”, firstName); for the 3rd challenge, however it isn't working...
I'm not sure what I'm doing wrong...
// I have setup a java.io.Console object for you named console
String firstName = "CJ";
console.printf(“%s can code in Java!”, firstName);
2 Answers
William Briffa
6,919 Pointsare those â in your code quotation marks?
console.printf("%s can code in Java!", firstName);
Should work.
CJ Jugarap
2,517 PointsOh that's interesting... I'm actually taking notes and copying and pasting my answers from a word document, which might be the reason for â being shown. I do not, however, see â when I copy and paste on to the console. Deleting and retyping the line does pass the challenge. Thank you for seeing this.